Payin Credit Card
Examples of callbacks for Payins credit card transactions
{
"transactionType": "PayIn",
"data": {
"transactionType": "PayIn",
"externalId": "XXXXX",
"internalId": "XXXXX",
"paymentMethod": {
"type": "CreditCard",
"code": "1000",
"flow": "DIRECT"
},
"country": "ARG",
"currency": "ARS",
"amount": 1100,
"accountNumber": "XXXXX",
"confirmed": {
"currency": "ARS",
"fxQuote": 1,
"amount": 1100
},
"payment": {
"currency": "ARS",
"fxQuote": 1,
"financingFee": 0,
"amount": 1100
},
"localTaxes": [],
"withHoldings": [],
"fees": {
"description": "Fee",
"currency": "ARS",
"fxSource": 157.577304,
"fxQuote": 1,
"amount": 122,
"account": "XXXXX"
},
"status": {
"code": "103",
"description": "COMPLETED",
"detail": "The payin was credited"
},
"merchant": {
"type": "INDIVIDUAL",
"name": "NAME",
"lastname": "LAST NAME",
"document": {}
},
"payer": {
"type": "COMPANY",
"name": "Test",
"document": {
"type": "XXXXX",
"id": "XXXXX"
},
"email": "test@test.com",
"phone": {},
"address": {},
"bank": {
"name": "Test",
"branch": {},
"account": {}
}
},
"intermediaries": [],
"date": {
"creationDate": "2022-11-02T23:36:57Z",
"processedDate": "2022-11-02T23:36:57Z"
},
"card": {
"token": "hlv9njbJRIUoa5mJ8ptLfYyzrEYIkJoqw6GgjfgNPcE=",
"bin": "XXXXX",
"brand": "XXXX",
"country": "XX",
"name": "XXXX",
"last4": "XXXX",
"expirationYear": XXXX,
"expirationMonth": XX,
"installments": X
},
"errors": []
}
}
{
"transactionType": "PayIn",
"data": {
"externalId": "XXXXX",
"internalId": "XXXXX",
"status": {
"code": "300",
"description": "REJECTED",
"detail": "Invalid param + [param name] + [reason]"
},
"errors": [
{
"code": "300",
"detail": "Invalid param + Payer.document.id + doesn´t match regex ^[0-9]{0,1}[.]?[0-9]{0,3}[.]?[0-9]{3}[.]?[0-9]{3}$"
}
]
}
}
Last updated