POST
/
payment-methods
/
link
curl -X POST \
 /payment-methods/link \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "customer": "ad8f1c2c-3b1c-4b0a-8b0a-0b0b0b0b0b0b",
    "sendEmail": "1"
}'
{
  "link": "https://my.customerfront.app/self-service/payment-method-link/1234"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Body

The new PaymentMethod resource

Response

201
application/json

The link to add a new payment method

The response is of type object.