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.
objectRequired
OR
objectRequired
OR
objectRequired
OR
objectRequired

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

lastUsedstringformat: "date-time"
Timestamp of the last successful transaction.
createdAtstringformat: "date-time"
Timestamp when the payment method was added.

Errors

400
Bad Request Error