payment-instruments
Create payment instrument from TagadaToken
Create a payment instrument from a base64 encoded TagadaToken. This endpoint decodes the TagadaToken and extracts the necessary payment information to create a payment instrument.
The TagadaToken should contain:
- type: ‘card’
- token: BasisTheory token ID
- provider: ‘basistheory’
- nonSensitiveMetadata: Card details like last4, brand, expiry, etc.
Security & Permissions:
- Requires org:admin role
- Requires storeId - validates that the authenticated account owns the store
- All operations are scoped to the authenticated user’s account
- If customerId is provided, it must belong to the authenticated account
- If customerData is provided, a new customer will be created in the authenticated account
Customer Handling:
- Provide either customerId (existing customer) OR customerData (new customer)
- Cannot provide both customerId and customerData
POST
Documentation Index
Fetch the complete documentation index at: https://docs.tagada.io/llms.txt
Use this file to discover all available pages before exploring further.
