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

payerIdstringRequired
The unique identifier for the payer.

Request

This endpoint expects an object.
CardPaymentMethodobjectRequired
OR
MobileMoneyPaymentMethodobjectRequired
OR
PayByBankPaymentMethodobjectRequired
OR
BankTransferPaymentMethodobjectRequired

Response

Stored payment method added successfully.
paymentMethodTokenstring
Token representing the payment method.
typestring
Type of the payment method.
identifierstring

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

lastUseddatetime
Timestamp of the last successful transaction.
createdAtdatetime
Timestamp when the payment method was added.

Errors

400
Bad Request Error