Create a Card Instrument
Create a Card Instrument
This article describes the different scenarios that can be simulated in the Sandbox environment. The cvn field is used to control the desired behaviour.
NOTE: These scenarios use the POST operation against the /customers/{id}/PaymentInstruments resource
Simulate different parameters of metadata in response
| CVN | Response Property | Value |
|---|---|---|
| 002 | metadata.issuerCountry | US |
| 003 | metadata.accountFundingSource | debit |
| 004 | metadata.accountFundingSource | prepaid |
| 005 | metadata.accountFundingSource | deferred_debit |
| 006 | metadata.accountFundingSource | charge |
NOTE: If the provided cvn is not in the list above, we will return the default metadata object below:
{ "accountVerification": "pass", "accountFundingSource": "credit", "issuerCountry": "{{Merchant_Country}}", // The value will be "AU" if merchant's country is Australia, value will be "NZ" if merchant's country is New Zealand "cardIssuer": "domestic"}