v1

latestOpenAPI 3.1.0MIT-LICENSE2026-07-24113190543.3 KB
Charges

Create charge

Create charge for an existing orden

post/orders/{id}/charges

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

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.

Request body

amountinteger

Amount to be charged in cents

reference_idstring

Custom reference to add to the charge

Example request

{
  "amount": 40000,
  "payment_method": {
    "type": "pay_by_bank",
    "expires_at": 1680397724,
    "product_type": "bbva_pay_by_bank"
  }
}

Response

successful