Create Pix Charge
[POST] https://gateway.paag.dev/api/pix/charge
Create a new Pix Charge
Body params
| Field name | Data type | Filter type |
|---|---|---|
processor_id |
string | Processor reference responsible for this charge |
amount |
float | Decimal value of the amount being charged (in R$) |
merchant_transaction_id |
string | Transaction id on the side of the merchant |
first_name |
string | First name of the one being charged |
last_name |
string | Last name of the one being charged |
email |
string | Email address for the one being charged |
document_number |
string | Document number for the one being charged. Usually CPF for people and CNPJ for companies. |
message |
string | Pix message |
Examples
Pix
Responses
200 - Success
{
"transaction": {
"id":"string",
"merchant_id":"string",
"user_id":"string",
"processor_id":"string",
"merchant_transaction_id":"string",
"transaction_type":"string",
"first_name":"string",
"last_name":"string",
"email":"string",
"checkout_url":"string",
"updated_at":"string",
"created_at":"string",
"events": [
{
"id": "string",
"success": "boolean",
"status":"String",
"event_type":"string",
"amount":"string"
"processor_transaction_id":"string",
"qrcode":"string",
"qrcode_image":"string",
"updated_at":"string",
"created_at":"string"
}
]
}
}