Skip to content

Starts attaching a card, with the merchant present.

POST
/v1/payment-methods/setup
curl --request POST \
--url https://courierapi.itdlogisoft.co.uk/v1/payment-methods/setup \
--header 'Authorization: Basic <credentials>'

OK

Media typeapplication/json

Start attaching a card, with the merchant present.

Their bank’s authentication step has to happen once, with somebody watching, before the card can be charged unattended afterwards. The response carries what their browser needs to complete it.

object
client_secret
required
string
customer_id
required
string

Example generated

{
"client_secret": "example",
"customer_id": "example"
}