curl --request GET \
--url https://service-sandbox.tazapay.com/v3/payment_attempt/{id} \
--header 'Authorization: Basic <encoded-value>'{
"status": "success",
"message": "",
"data": {
"amount": 9899,
"balance_transaction": "btr_d679f6dqd9ne66lsngb0",
"charge_currency": "PLN",
"created_at": "2023-07-23T08:03:29.718275Z",
"customer": "cus_d209e84kspu2df5phfm0",
"customer_details": {
"country": "PL",
"email": "[email protected]",
"name": "Jan",
"phone": {
"calling_code": "48",
"number": "1234369"
}
},
"fx_transaction": {
"exchange_rate": 0.219768,
"final": {
"amount": 2173,
"currency": "EUR"
},
"id": "fx_d209ek2fhufa9pkp5c4g",
"initial": {
"amount": 9888,
"currency": "PLN"
},
"object": "fx_transaction"
},
"id": "pat_d209ek5qd9ne66lsn6gg",
"metadata": null,
"object": "payment_attempt",
"payin": "chk_d209e85qd65u66lsn1g0",
"payment_method_details": {
"card": {
"cardholder_name": "jan cebella",
"checks": {
"cvc_check": "pass"
},
"expiry": {
"month": 7,
"year": 2031
},
"first6": "428771",
"funding": "debit",
"issuer": "ing bank slaski sa",
"issuing_country": "pl",
"last4": "6095",
"scheme": "visa",
"three_d_secure": {
"eci": "05",
"result": "attempt_acknowledged",
"version": "2.2.0"
}
},
"type": "card"
},
"reference_id": "TR000001385673188",
"refunded": "true",
"status": "succeeded",
"status_description": ""
}
}Refers to each attempt by the customer to pay using a particular payment method
curl --request GET \
--url https://service-sandbox.tazapay.com/v3/payment_attempt/{id} \
--header 'Authorization: Basic <encoded-value>'{
"status": "success",
"message": "",
"data": {
"amount": 9899,
"balance_transaction": "btr_d679f6dqd9ne66lsngb0",
"charge_currency": "PLN",
"created_at": "2023-07-23T08:03:29.718275Z",
"customer": "cus_d209e84kspu2df5phfm0",
"customer_details": {
"country": "PL",
"email": "[email protected]",
"name": "Jan",
"phone": {
"calling_code": "48",
"number": "1234369"
}
},
"fx_transaction": {
"exchange_rate": 0.219768,
"final": {
"amount": 2173,
"currency": "EUR"
},
"id": "fx_d209ek2fhufa9pkp5c4g",
"initial": {
"amount": 9888,
"currency": "PLN"
},
"object": "fx_transaction"
},
"id": "pat_d209ek5qd9ne66lsn6gg",
"metadata": null,
"object": "payment_attempt",
"payin": "chk_d209e85qd65u66lsn1g0",
"payment_method_details": {
"card": {
"cardholder_name": "jan cebella",
"checks": {
"cvc_check": "pass"
},
"expiry": {
"month": 7,
"year": 2031
},
"first6": "428771",
"funding": "debit",
"issuer": "ing bank slaski sa",
"issuing_country": "pl",
"last4": "6095",
"scheme": "visa",
"three_d_secure": {
"eci": "05",
"result": "attempt_acknowledged",
"version": "2.2.0"
}
},
"type": "card"
},
"reference_id": "TR000001385673188",
"refunded": "true",
"status": "succeeded",
"status_description": ""
}
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
ID of the payment attempt
Was this page helpful?