FILTER BY TAG

Using Stored Customer Credentials During a CIT

After customers store their credentials on file, you can retrieve these credentials to use with subsequent transactions when the customer is present.

Processor-Specific Information

National Payment Gateway
requires payer authentication data in customer-initiated transactions.
When the domestic scheme directory server for mada cards is not available and authentication falls back to the global scheme directory server, the authentication brand response field indicates which directory server was used during the authentication process.

Endpoint

Production:
POST
https://api.sa.cybersource.com
/pts/v2/payments
Test:
POST
https://apitest.sa.cybersource.com
/pts/v2/payments

REST Example: Using Customer Credentials During a mada Card CIT and
3-D Secure

Request
This example includes optional fields.
{ "clientReferenceInformation": { "code": "SPG_REQ_08" }, "consumerAuthenticationInformation": { "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", "dsReferenceNumber": "dsReferenceNumber-3DS-mada123", "paresStatus": "Y", "acsReferenceNumber": "3DS_LOA_ACS_201_13579", "paSpecificationVersion": "2", "authenticationDate": "20230413121212", "directoryServerTransactionId": "f25084f0-5b16-4c0a-ae5d-b24808a95e4b", "acsTransactionId": "f25084f0-5b16-4c0a-ae5d-b248083334b2" }, "processingInformation": { "commerceIndicator": "mada", "authorizationOptions": { "initiator": { "storedCredentialUsed": true } }, "capture": true, "originalPaymentId": "7429098456261234567890" }, "orderInformation": { "billTo": { "firstName": "Abdullah", "lastName": "Muhammad", "phoneNumber": "01-4844094", "address2": "P.O.Box: 16335", "address1": "Al Dariyah Dist.", "postalCode": "22028", "email": "" }, "amountDetails": { "totalAmount": "100", "currency": "SAR" } }, "merchantInformation": { "categoryCode": 5411, "merchantDescriptor": { "country": "SA", "address1": "API Address", "postalCode": "12987-7318", "locality": "Riyadh", "name": "API Merchant-Name1" } }, "paymentInformation": { "instrumentIdentifier": { "id": "7010000000026973240" }, "card": { "expirationYear": "2031", "securityCode": "123", "expirationMonth": "12", "type": "060" } } }
Response to a Successful Request
{ "paymentInformation": { "bin": "968208", "issuer": "Al Bank Al Saudi Al Fransi", "binCountry": "SA", "cardBrand": "MADA", "cardType": "060", "instrumentIdentifier": { "id": "7010020000025033240", "state": "ACTIVE" } }, "paymentAccountInformation": { "card": { "currency": "SAR", "type": "060" } }, "submitTimeUtc": "2025-03-14T07:23:40Z", "orderInformation": { "amountDetails": { "currency": "SAR", "authorizedAmount": "100.00" } }, "processorInformation": { "paymentAccountReferenceNumber": "Xnaq8RrWXaCgPOrFAeaZiqLqO0bh2", "approvalCode": "830SPG", "retrievalReferenceNumber": "507307221975", "cardVerification": { "resultCode": "M", "resultCodeRaw": "M" }, "responseCode": "00", "consumerAuthenticationResponse": { "code": "2", "codeRaw": "2" }, "settlementDate": "220915" }, "_links": { "self": { "method": "GET", "href": "/pts/v2/payments/7419370205653628689958" }, "refund": { "method": "POST", "href": "/pts/v2/payments/7419370205653628689958/refunds" } }, "clientReferenceInformation": { "code": "TC_SPG_FE_MD-11" }, "consumerAuthenticationInformation": { "token": "7419370205653628689958" }, "reconciliationId": "7419370205653628689958", "id": "7419370205653628689958", "status": "COMPLETED", "tokenInformation": { "instrumentIdentifierNew": false, "instrumentIdentifier": { "id": "7010020000025033240", "state": "ACTIVE" } }, "embeddedActions": { "TOKEN_RETRIEVE": { "status": "SUCCESS" } } }