Create a setup request
Create a setup request for securely storing a payment method. The request will be in RequiresPaymentMethod status until a payment method is provided.
Documentation Index
Fetch the complete documentation index at: https://docs.withacclaim.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ID of the payer to associate with this setup request
"pyr_AbC123XyZ"
Optional description of the setup request
255"Tokenize payment method for customer"
Optional metadata as key-value pairs
{ "custom_field": "value", "source": "api" }Response
Setup request created.
"trq_XyZ789AbC"
Current status of the setup request
RequiresPaymentMethod, RequiresAction, Processing, Succeeded, Failed, Canceled "RequiresPaymentMethod"
ID of the payer associated with this setup request
"pyr_AbC123XyZ"
Payment method associated with this setup request
External session identifier for this setup request
"trq_XyZ789AbC_abc123..."
Optional description of the setup request
"Tokenize payment method for customer"
Error code if the setup request failed
"validation_failed"
Human-readable error message if the setup request failed
"Payment method validation failed"
When the setup request expires
"2025-12-31T23:59:59Z"
When the setup request was completed
"2025-10-08T18:25:00Z"
IP address of the client making the setup request
"192.168.1.1"
User agent string of the client making the setup request
"Mozilla/5.0..."
Optional metadata as key-value pairs
{ "custom_field": "value", "source": "api" }"2025-10-08T18:20:31Z"
"2025-10-08T18:25:00Z"