Card Payments

Card payments are transactions initiated when a cardholder uses an issued card e.g to make an online purchase.

Retrieve card payments

MethodDescriptionEndpoint
GETList card payment/api/v1/card-payments
GETFetch card payment by ID/api/v1/card-payment/:paymentID

A sample card payment details is given below:

{
   "id":"17846483290-anc_card_pymt",
   "type":"CardPayment",
   "attributes":{
      "createdAt":"2026-07-21T15:17:08",
      "amounts":{
         "authorized":0,
         "reversed":0,
         "adjusted":0,
         "settled":100,
         "refundAuthorized":100,
         "refunded":0
      },
      "merchant":{
         "name":"MERCADONA SA             VALENCIA   ES",
         "identifier":"MERCADONA-00142",
         "categoryCode":"5411",
         "countryCode":"724"
      },
      "currency":"USD",
      "terminalId":"TRM00142",
      "transactionDate":"2026-04-14T09:46:00",
      "networkIdentifier":{
         "transactionIdentifier":"000014525",
         "authorizationCode":"050012"
      },
      "updatedAt":"2026-07-21T15:19:15",
      "status":"REFUNDED"
   },
   "relationships":{
      "organization":{
         "data":{
            "id":"16538589610-anc_og",
            "type":"Organization"
         }
      },
      "history":{
         "data":[
            {
               "id":"17840284160-anc_card_pymt_his",
               "type":"CardPaymentHistory"
            },
            {
               "id":"17846552011-anc_card_pymt_his",
               "type":"CardPaymentHistory"
            }
         ]
      },
      "card":{
         "data":{
            "id":"178402131572-anc_card",
            "type":"Card"
         }
      }
   }
}
FieldTypeDescription
idstringUnique identifier for the card payment.
typestringThe resource type. CardPayment
createdAtstringTimestamp for when the payment record was created.
updatedAtstringTimestamp for the most recent update to the payment record.
transactionDatestringTimestamp for when the transaction actually occurred at the merchant.
currencystringThe currency the transaction was processed in.
statusstringThe current lifecycle status of the payment (e.g. SETTLED, REFUNDED).
terminalIdstringIdentifier for the terminal used to process the transaction.
amounts.authorizedintegerThe amount currently held under authorization.
amounts.reversedintegerThe amount that has been reversed from the original authorization.
amounts.adjustedintegerThe amount adjusted after authorization, if any.
amounts.settledintegerThe final amount settled for this payment.
amounts.refundAuthorizedintegerThe amount authorized for refund.
amounts.refundedintegerThe amount actually refunded to the cardholder.
merchant.namestringThe merchant's name as it appears on the transaction.
merchant.identifierstringUnique identifier for the merchant.
merchant.categoryCodestringThe merchant category code (MCC) for the transaction.
merchant.countryCodestringThe merchant's country code.
transactionIdentifierstringThe card network's identifier for this transaction.
authorizationCodestringThe authorization code returned by the card network.
relationships.organizationobjectThe organization the card payment belongs to.
relationships.cardobjectThe card used for the transaction.
relationships.historyarrayRelated CardPaymentHistory records tracking status changes for this payment.

Card Payment Lifecycle

StatusDescription
PENDINGPayment processing has started but no final authorization outcome is available.
AUTHORIZEDThe issuer approved the payment and funds may be held.
PARTIALLY_REVERSEDPart of the authorized amount has been released or reversed.
REVERSEDThe authorization was fully reversed.
SETTLEDThe final payment amount has been settled.
DECLINEDThe payment was not authorized.


Did this page help you?