Payment Methods
Delete Payment Method
Delete an existing payment method
delete/customers/{id}/payment_sources/{payment_method_id}
Request
- Base URLhttps://api.conekta.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Example:6307a60c41de27127515a575
Identifier of the resource
payment_method_idstring required
Example:src_2tQ974hSHcsdeSZHG
Identifier of the payment method
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Response
successful operation
Example response
{
"id": "src_2s8K1B3PBKDontpi9",
"object": "payment_source",
"created_at": 1675715413,
"parent_id": "cus_2s8K1B3PBKDontpi8",
"agreements": [
{
"agreement": "2409526",
"provider": "bbva_cash_in"
}
],
"reference": "93000262276908",
"barcode": "93000262276908",
"barcode_url": "https://barcodes.conekta.com/644ebf80f2243197aad6cd8810375b905b613dbe.png",
"expires_at": 1742483424,
"provider": "Cash"
}Changes
No recorded changes to this operation across all 2 revisions of this API.