POST
/api/members/{memberId}/payment-methods/capture-init
const url = 'https://example.com/api/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/payment-methods/capture-init';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” memberId
required
string format: uuid
Responses
Section titled “ Responses ”Capture init payload.
Media type application/json
object
mode
string
url
string
extra
object
key
additional properties
string
Example generated
{ "mode": "example", "url": "example", "extra": { "additionalProperty": "example" }}