Create charge

Creates a new charge associated with an existing order.

Notes:

  • The charge is created for the order identified by the path parameter id.
  • Depending on the payment method, the charge may be created in a non-final status (for example, pending).
  • If the order does not meet the required conditions, the API may respond with 428 Precondition Required.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the resource

Body Params

requested field for a charge

The charges to be made

integer
payment_method
object
required

Payment method used in the charge.

string

Custom reference to add to the charge

Headers
string
enum
Defaults to es

Use for knowing which language to use

Allowed:
string

In the case of a holding company, the company id of the child company to which will process the request.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.app-v2.1.0+json