Provides additional details to process a payment using a `card` that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file). Parameter compatibility:
`payment_type=ONE_TIME` is compatible only with `payment_initiator=CUSTOMER`.
`usage=FIRST` is compatible only with `payment_initiator=CUSTOMER`.
`previous_transaction_reference` or `previous_network_transaction_reference` is compatible only with `payment_initiator=MERCHANT`.
Only one of the parameters - `previous_transaction_reference` and `previous_network_transaction_reference` - can be present in the request.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/card_stored_credential",
"title": "Card Stored Credential",
"type": "object",
"description": "Provides additional details to process a payment using a `card` that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file).<br/>Parameter compatibility:<br/><ul><li>`payment_type=ONE_TIME` is compatible only with `payment_initiator=CUSTOMER`.</li><li>`usage=FIRST` is compatible only with `payment_initiator=CUSTOMER`.</li><li>`previous_transaction_reference` or `previous_network_transaction_reference` is compatible only with `payment_initiator=MERCHANT`.</li><li>Only one of the parameters - `previous_transaction_reference` and `previous_network_transaction_reference` - can be present in the request.</li></ul>",
"properties": {
"payment_initiator": {
"$ref": "#/components/schemas/payment_initiator"
},
"payment_type": {
"$ref": "#/components/schemas/stored_payment_source_payment_type"
},
"usage": {
"$ref": "#/components/schemas/stored_payment_source_usage_type"
},
"previous_network_transaction_reference": {
"$ref": "#/components/schemas/network_transaction_reference"
}
},
"required": [
"payment_initiator",
"payment_type"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.