Skip to main content

Edit a credit card

This endpoint allows you to update credit card information. Only the parameters provided will be updated.

Endpoint​

POST https://canadamotorjobs.com/api/v1/{locale}/credit-cards/edit

Parameters​

ParameterTypeDescriptionRequired
api_tokenstringYour API keyrequired or bearer token
idstringThe credit card identifierRequired if no ref_id and ref_source
ref_idstringThe credit card identifier in your systemNo
ref_sourcestringThe credit card identifier sourceNo
descriptionstringThe new descriptionNo

Response​

Returns the request status and the updated credit card information.

Errors​

CodeMessage
401Unauthorized
404Not Found
422Unprocessable Entity (e.g., invalid parameters)
500Internal Server Error