Add Stored Payment Method

Adds a new stored payment method to an existing payer profile. This call allows businesses to expand the payment options available to a payer, facilitating future transactions by storing necessary payment details securely.

Path parameters

payerIdstringRequiredformat: "uuid"

The unique identifier for the payer. See the Payer ID guide.

Request

This endpoint expects an object.

Response

Stored payment method added successfully.
paymentMethodTokenstringOptional
Token representing the payment method.
typestringOptional
Type of the payment method.
identifierstringOptional

Identifier for the payment method (e.g., last 4 digits).

lastUseddatetimeOptional
Timestamp of the last successful transaction.
createdAtdatetimeOptional
Timestamp when the payment method was added.
cardBrandstringOptional

Brand of the card (e.g., Visa, MasterCard).

lastFourDigitsstringOptional
Last four digits of the card number.
mobileNumberstringOptional

Masked mobile number (e.g., ’*** **** 5678’).

bankNamestringOptional
Name of the bank.
accountIdentifierstringOptional

Masked account number (e.g., ’**** **** 1234’).

Errors

400
Bad Request Error