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
123456789101112131415161718192021222324252627
{"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
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
{"_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"}