Create withdraw

POST https://api.agilizepay.com/pix/payment

SUMMARY:

access_token= Access token code generated by authentication

CLIENT_ID = Your client_id can be found within the dashboard.

CLIENT_SECRET = Your client_secret can be found within the dashboard.

header
{ 
    'client_id:': '{CLIENT_ID}',
    'client_secret: {CLIENT_SECRET}',
    'accept': 'application/json',
    'Authorization': "Bearer {access_token}"
}
Body Param
{
  "amount": 0,
  "code": "string",
  "name": "string",
  "key_type": "string",
  "document": "string",
  "key_pix": "string",
  "PostBackUrl": "string" 
}

Webhook PayloadPOST

🟒 200 - Successfully

Response body

πŸ”΄400 - Bad request

πŸ”΄401 - Unauthorized

πŸ”΄500 - Internal server error

Last updated