Download OpenAPI specification:
API for managing payments.
The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a payment fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single payment is created.
To perform an idempotent request, provide an Idempotence-Key header with a unique value (e.g., a UUID) in your request.
The server stores the result of the first request with a given key and returns the same response for subsequent requests with that same key.
| Idempotence-Key required | string <= 254 characters Example: 7b8f9e2e-2a2a-4a2a-8a2a-2a2a2a2a2a2a A unique string used to ensure that requests are processed only once. |
| amount required | string Amount as a string to avoid precision issues. |
| currency required | string = 3 characters |
| paymentMethod required | string (PaymentMethod) Value: "bank_transfer" |
object (PayerDto) | |
| returnUrl | string <uri> |
object <= 20 properties Max keys = 20 Max key length = 40 Max value length = 500 Max metadata size <= 4 kB Types: string, number, boolean Flat object only |
{- "amount": "string",
- "currency": "ARS",
- "paymentMethod": "bank_transfer",
- "payer": {
- "documentNumber": "12345678",
- "documentType": "DNI"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "string",
- "status": "succeeded",
- "amount": "string",
- "currency": "ARS",
- "input_amount": "string",
- "fact_amount": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}| publicId required | string Public ID of the payment |
{- "payment": {
- "type": "payin",
- "public_id": "string",
- "input_amount": "string",
- "fact_amount": "string",
- "currency": "ARS",
- "status": "new",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "method": "bank_transfer",
- "expires_at": "2019-08-24T14:15:22Z"
}, - "instructions": {
- "destination_cvu": "string"
}
}| Idempotence-Key required | string <= 254 characters Example: 7b8f9e2e-2a2a-4a2a-8a2a-2a2a2a2a2a2a A unique string used to ensure that requests are processed only once. |
| amount required | string |
| currency required | string = 3 characters |
| paymentMethod required | string (PaymentMethod) Value: "bank_transfer" |
required | object (PayeeDto) |
| returnUrl | string <uri> |
object <= 20 properties Max keys = 20 Max key length = 40 Max value length = 500 Max metadata size <= 4 kB Types: string, number, boolean Flat object only |
{- "amount": "string",
- "currency": "ARS",
- "paymentMethod": "bank_transfer",
- "payee": {
- "cbu": "string",
- "documentNumber": "12345678",
- "documentType": "CUIT"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "string",
- "status": "succeeded",
- "amount": "string",
- "currency": "ARS",
- "input_amount": "string",
- "fact_amount": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}| publicId required | string Public ID of the payment |
{- "payment": {
- "type": "payin",
- "public_id": "string",
- "input_amount": "string",
- "fact_amount": "string",
- "currency": "ARS",
- "status": "new",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "method": "bank_transfer"
}
}