Skip to main content
GET
/
v3
/
payment_attempt
/
{id}
Fetch Payment Attempt
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": ""
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

ID of the payment attempt

Response

200

status
string
message
string
data
object