Home > Requesting the CyberSource Service


Requesting the CyberSource Service

Authorization Service

Your payment processor can include API reply fields that are not documented in this guide. See Credit Card Services Using the SCMP API for detailed descriptions of any additional API reply fields.

To request an authorization using a Visa card:

See Request Fields, and Reply Fields, for detailed descriptions of each API.

Step 1Set the customer_cc_number field to the payment network token value.

Step 2Set the customer_cc_expmo and customer_cc_expyr fields to the payment network token expiration date values.

Step 3Set the cavv field to the 3D Secure cryptogram of the payment network token.

 

For a 40-byte cryptogram, split the cryptogram into two 20-byte binary values (block A and block B). Send the first 20-byte value (block A) in the cardholder authentication verification value (CAVV) field. Send the second 20-byte value (block B) in the transaction ID (XID) field.

Step 4Set the xid field to the 3D Secure cryptogram of the payment network token.

Step 5Set the payment_network_token_transaction_type field to 1.

Step 6Set the e_commerce_indicator field to internet.

Step 7Set the payment_solution field to 007.

 

Example 1Authorization Request

card_type=001

currency=usd

customer_cc_expmo=12

customer_cc_expyr=2021

customer_cc_number=4650100000000839

e_commerce_indicator=internet

grand_total_amount=100.00

ics_applications=ics_auth

merchant_id=demomerchant

merchant_ref_number=demorefnum

cavv=ABCDEFabcdefABCDEFabcdef0987654321234567

xid=ABCDEFabcdefABCDEFabcdef0987654321234567

payment_network_token_transaction_type=1

payment_netowrk_token_requestor_id=1234567890

solution_type=007

Example 2Authorization Reply

request_token=Ahj/7wSR5C/kX63O2hAKIkGLNkwcsmrSHHlU5tGHRT/hHgzc8BT/hHgk

currency=usd

request_id=4465837560045000001541

auth_rflag=SOK

ics_rmsg=Request was processed successfully.

auth_auth_amount=100.00

auth_rcode=1

auth_trans_ref_no=13209254CGJSMQCQ

auth_auth_code=888888

auth_rmsg=Request was processed successfully.

ics_rflag=SOK

auth_auth_response=100

auth_avs_raw=I1

auth_auth_time=2015-11-03T204917Z

merchant_ref_number=demorefnum

ics_rcode=1