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.
Card Payment MethodobjectRequired
OR
Mobile Money Payment MethodobjectRequired
OR
Pay by Bank Payment MethodobjectRequired
OR
Bank Transfer Payment MethodobjectRequired

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).

lastUseddatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

Timestamp of the last successful transaction.

createdAtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

Timestamp when the payment method was added.

Errors