API
Skip to main content

Payment with registered Credit/Debit Card

With a registered payment method, it is already possible to request the payment immediately.

  1. Obtain the UUID of the registered payment method;
  2. Payment specifying the payment method.

1. Obtain the UUID of the registered payment method

The UUID of the payment method can be obtained by querying the payment methods saved by the customer

2. Payment by sending the payment method

information
Make a payment request by sending the customer's UUID and the payment method UUID.

POST /payments
{
"type": "payment",
"amount": 100,
"customer": {
"uuid": "e2343605-cf46-43de-b20b-9b7d1c95a9b2"
},
"paymentMethod": {
"uuid": "90068f83-7623-4de5-91c7-ac447c504ebf"
}
}