cURL
curl --request POST \ --url https://api.mercuriumpagamentos.com/transactions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "amount": 500, "paymentMethod": "PIX", "metadata": {}, "customer": { "name": "João da Silva", "email": "jsmith@example.com", "document": "12345678909", "phone": "11999999999" }, "products": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "Wireless Mouse", "amount": 500 } ] }'
{ "transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "paymentMethod": "PIX", "status": "PENDING", "pix": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "qrcode": "00020101021226900014br.gov.bcb.pix2568qrcode.siliumpay.com.br/dynamic/5a7ce4f4-b6c2-4e06-978e-9ed161c1de855204000053039865802BR5911PAYNIX LTDA6009Sao Paulo62070503***6304C662", "expirationDate": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }, "customer": { "id": "514caf9c-aadf-46ec-aec4-d3ede47a5949", "name": "João da Silva", "email": "jsmith@example.com", "phone": "11999999999", "document": "12345678909", "createdAt": "2025-06-27T14:49:28.621Z" }, "products": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "Wireless Mouse", "amount": "500", "createdAt": "2023-11-07T05:31:56Z" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x >= 1
500
CREDIT_CARD
PIX
"PIX"
Show child attributes
1
PENDING
PAID
FAILED
CANCELED