Simulate a stored credential
Sandbox only. Creates a stored credential of the specified type. The credential may be used for cash_in and cash_out transactions. This endpoint is not available in the production environment.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The push identifier for the user
"user_28CJjV7P4Go5PNJvfzghiD"
The type of credential to create
secure_debit, card_only_credit, card_only_debit, apple_pay, apple_pay_debit The last 4 digits of the card number to display for the credential. Must be exactly 4 digits; generated when omitted.
^[0-9]{4}$"9010"
Response
The created credential
The unique identifier assigned by Push
When the payment credential was created (ISO 8061 date string)
The last 4 digits of the card number
For secure_debit credentials, whether the user has authenticated with the bank.
The type of payment credential:
secure_debit: A debit card which can be used for withdrawals and depositscard_only_credit: A credit card which can be used for deposits alonecard_only_debit: A debit card which can be used for deposits aloneapple_pay_debit: A debit card stored via Apple Pay which can be used for withdrawals alone
secure_debit, card_only_credit, card_only_debit, apple_pay_debit For authenticated secure_debit credentials, the last 4 digits of the bank account number for the user's account. This field is null otherwise.
For secure_debit credentials, the name of the user's bank. This field is null otherwise.