Skip to content

Initialise Hosted Card Capture

POST
/api/members/{memberId}/payment-methods/capture-init
curl --request POST \
--url https://example.com/api/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/payment-methods/capture-init \
--header 'Authorization: Bearer <token>'

Returns the front-end payload (mode + URL + origin) for PayChoice’s hosted tokenisation widget, so staff can add a card without the PAN touching Topiic (PCI-compliant). Pair with from-token to store the tokenised card.

memberId
required
string format: uuid

Capture init payload.

Media type application/json
object
mode
string
nullable
url
string
nullable
extra
object
key
additional properties
string
Example generated
{
"mode": "example",
"url": "example",
"extra": {
"additionalProperty": "example"
}
}