RexPay
  1. Authentication
RexPay
  • Authentication
    • Intro
    • Get Access Token
      POST
  • PIX Payments
    • Intro
    • Payin
      • Create PIX Payin
      • Get PIX Payin by ID
      • Get PIX Payin by external ID
    • Payout
      • Create PIX Payout
      • Get PIX Payout by ID
      • Get PIX Payout by external ID
  • Balance
    • Get balance
      GET
  • Webhooks
    • Intro
    • Webhook app portal link
      POST
  • Schemas
    • Attributes
      • Payin status
      • taxID
      • Payout status
      • Amount
      • Pix type
      • Pix key
    • gen_base_64
    • Payer or Receiver
    • Metadata
    • Payin created
    • Payin
    • Payout
    • Error response
  1. Authentication

Get Access Token

POST
/auth/access-token

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.rexpay.app/auth/access-token' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "client_id": "string",
    "client_secret": "string"
}'
Response Response Example
{
    "access_token": "string",
    "id_token": "string",
    "expires_in": 0,
    "token_type": "string"
}
Previous
Intro
Next
PIX Payments