Payments

Retrieve information about a payment

Given a paymentId, information about the corresponding payment will be returned.

get/payments/{paymentId}

Path parameters

paymentIdstring required
Example:956de7da-ece8-4ba1-acf4-37aeda78cb13

Response

OK

paymentIdstring
createdAtstring date-time

Creation date/time of the payment in ISO 8601 format (UTC)

orderIdstring required
currencystring required
totalAmountnumber required

Example response

{
  "paymentId": "956de7da-ece8-4ba1-acf4-37aeda78cb13",
  "orderId": "a7dd1cf6-dc96-490b-bdf6-8685dbf5bb87",
  "currency": "EUR",
  "totalAmount": 456.78,
  "creditCard": {
    "number": "5250567933594297",
    "cvc": "123",
    "expiryMonth": "08",
    "expiryYear": "24",
    "holderFirstName": "Peter",
    "holderLastName": "Parker",
    "address": "738 Winter Garden Drive",
    "city": "New York",
    "zipCode": "11375",
    "countryCode": "US"
  }
}

Changes