customerId obtained from POST /api/customers, along with the charge amount expressed in centavos (the smallest Brazilian currency unit). The returned order id becomes the orderId you will reference when processing the actual payment.
Request
Your CertoPay secret API key. Include it in every request as
X-Api-Key: sk_live_sua_chave_aqui.The UUID of the customer being charged. This is the
id returned by POST /api/customers. The customer must already exist in your account.Total charge amount in centavos (Brazilian cents). For example,
29700 represents R$ 297,00. Must be a positive integer greater than zero.Response
A successful request returns HTTP 201 Created with the newly created order object.Unique UUID assigned to this order. Save this value — it is required as
orderId in all downstream payment requests.UUID of the customer linked to this order, echoed from the request.
Charge amount in centavos, echoed from the request.
Current status of the order. Newly created orders always start as
"PENDING". Other possible values as the order progresses: "PAID", "CANCELLED", "EXPIRED".ISO 8601 timestamp recording when the order was created (e.g.
"2026-06-26T10:00:00Z").Save the
id returned in this response — it becomes the orderId required in all subsequent payment requests (Pix, boleto, and credit card). Without it you cannot charge the customer.Example
201 Created