v1
latestOpenAPI 3.1.02026-07-24102785.8 KBDirect API
Create a Transaction
Creates a new transaction. You can use this endpoint to create payments when using:
- Raw credit card (only available for PCI merchants)
- Credit card token
- Card on File token (Token stored by PagSeguro)
- Google Pay
- Pix
- PSE Avanza
- Nequi
For the accepted document types and validation rules per country, see Document Validation.
post/v3/transactions
Request body
Example request
{
"charge": {
"installments": 6,
"credit_card": {
"id": "3e233f49-04d0-40ee-ae13-984e2b7988a4"
},
"authentication_method": {
"type": "3DS",
"cavv": "BwABBylVaQAAAAFwllVpAAAAAAA=",
"xid": "BwABBylVaQAAAAFwllVpAAAAAAA=",
"eci": "05",
"version": "2.1.0",
"dstrans_id": "DIR_SERVER_TID"
}
}
}Response
Successful transaction creation.