Skip to main content

Prepare your request

To create a remittance, use the following endpoint:
  • Sandbox: POST https://pay.sandbox.yabetoopay.com/v1/remittance
  • Production: POST https://pay.api.yabetoopay.com/v1/remittance
Secret key security: Your secret key (secret_key) must be kept confidential and should never be exposed in frontend or client-side code. It must only be used on the server side.
  1. Authenticate your request using your secret key in the Authorization header.
  2. Include the required fields in the request body:

Request Body

Send a JSON payload with the following fields:

Required Fields

Optional Fields

payment_method_data structure

Create a Remittance

Use the following endpoint:
  • Sandbox: POST https://pay.sandbox.yabetoopay.com/v1/remittance
  • Production: POST https://pay.api.yabetoopay.com/v1/remittance
This example shows how to create a remittance, you should adapt it to your needs.

Response

In this section, you will find the possible responses from the API.

200 OK

When the remittance was successfully created, the API will return a 200 OK response with the following body:

400 Bad Request

When the request is invalid, the API will return a 400 Bad Request response with the following body:

401 Unauthorized