Authorization Service

The authorization service format that you send for RuPay is the same used for other card types. Send the CAVV and XID in the authorization service request with the card details for
Cybersource
to process this request with the RuPay card network.
For RuPay, the e-commerce indicator returned in the validation service response must be set to
rpy
or the authorization results in an error.
For an SMS type of card, send the authorization service and capture service requests at the same time. Sending just the authorization service request for an SMS type of card causes an error.

REST Example: Authorization

Light Dark
Request
1234567891011121314151617181920212223242526272829
{ "clientReferenceInformation": { "code": "TC50171_3" }, "paymentInformation": { "card": { "number": "4111111111111111", "expirationMonth": "12", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "INR" }, "billTo": { "firstName": "Sumar", "lastName": "Kumar", "address1": "Bagmane WTC", "locality": "Bangalore", "administrativeArea": "KA", "postalCode": "560048", "country": "IN", "email": "test@test.com", "phoneNumber": "7606160717" } } }
Response
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6482343863386805804004/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6482343863386805804004" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6482343863386805804004/captures" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "6482343863386805804004", "orderInformation": { "amountDetails": { "authorizedAmount": "102.21", "currency": "INR" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "pointOfSaleInformation": { "terminalId": "111111" }, "processorInformation": { "approvalCode": "888888", "networkTransactionId": "123456789619999", "transactionId": "123456789619999", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } }, "reconciliationId": "74673184C10Z9JYR", "status": "AUTHORIZED", "submitTimeUtc": "2022-03-25T18:53:06Z" }