Create card reroute

Routes a card's payments to one of your customers' saved cards. Send the saved card's ID as saved_card_id; this is the same ID you pass as card_id to Initiate payment.

The new reroute becomes the card's only active reroute: any reroute that was active before is set to inactive. The response lists every reroute on the card with its status. Charge the active reroute with Authorize card payment.

Returns 404 if the card or the saved card doesn't belong to your business.

🚧

Available on request

In production this endpoint only works for businesses Mamo has enabled, and returns 403 for everyone else. Email [email protected] to get started. It is open in the sandbox.

Path Params
string
required

Unique identifier of the card

Body Params
string
required

Identifier of the saved customer card to route payments to.

Headers
string

A unique key, such as a UUID, that makes it safe to retry this request. Reuse the same key when you retry. See Idempotency.

Responses

429

Too many requests. You sent more than 100 requests in 30 seconds from one IP address. This response has no JSON body. See Rate limits.

500

Unexpected error

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json