RASPAY

Introduction

Receive with Pix and pay out in Pix with a single API.

The RASPAY API is REST, receives and returns JSON, and uses the same resources in test and live mode. With it you create Pix charges, track payments by webhook and move the balance with Pix payouts. Pix is the instant payment system of the Central Bank of Brazil.

  • Every amount is an integer in cents of Brazilian real (BRL): 15000 means R$ 150.00.
  • The API base URL is https://api.raspay.io.
  • Dates are in ISO 8601, in UTC.
  • CPF is the Brazilian individual tax ID (11 digits) and CNPJ is the company tax ID (14 digits).
  • Text written by the API, such as the message of errors and the description of balance transactions, is in Portuguese. Build your logic on codes, types and statuses, which are in English.
Your first charge
curl -X POST "https://api.raspay.io/v1/charges" \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "amount": 15000, "reference": "ORDER-0001" }'