Skip to content

Card Not Present

Process an Online Card Transaction

This article describes the different scenarios that can be simulated in the Sandbox environment. The payment.amount field is used to control the desired behaviour.

NOTE: These scenarios use the POST operation against the /transactions resource. You can use card details directly, a Secure Panel one-time token, or a customer token with a card as the payment instrument.

Simulate an Approved Online Card Transaction

Any amount value not listed in the below scenarios will result in an approved payment. The result.status will return as approved. The result.codes array will contain a code and message indicative of the approval message returned by the card issuing bank.

CodeMessageAmount
A02000approved14400
A02008honor_with_identification14408
A02010approved_for_partial_amount14410
A02011approved_vip14411
A02016approved_update_track_314416

Simulate a Declined Online Card Transaction

This scenario simulates an online card transaction being submitted, but then declined by the customer’s bank. The result.status will return as declined. The result.codes array will contain a code and message indicating the reason for the decline.

CodeMessageAmount
D04401refer_to_issuer14401
D04403no_merchant14403
D04404pick_up_card14404
D04405do_not_honour14405
D04406error14406
D04412invalid_transaction14412
D04413invalid_amount14413
D04414invalid_card_number14414
D04415no_issuer14415
D04422suspected_malfunction14422
D04430format_error14430
D04431bank_not_supported_by_switch14431
D04434suspected_fraud_retain_card14434
D04441lost_card14441
D04442no_universal_account14442
D04443stolen_card14443
D04451insufficient_funds14451
D04454expired_card14454
D04456no_card_record14456
D04457function_not_permitted_to_cardholder14457
D04458function_not_permitted_to_terminal14458
D04459suspected_fraud14459
D04462restricted_card14462
D04467capture_card14467
D04491card_issuer_unavailable14491
D04492unable_to_route_transaction14492

Simulate a Declined Refund for a Online Card Transaction

This scenario simulates a refund being submitted and getting declined by the customer’s bank. To simulate a failed refund, use the payment.amount values from the table above. The result.status will return as declined. The result.codes array will contain a code and message indicating the reason for the decline.