Test capability readiness
After requesting a capability, set its sandbox status withPOST /v3/sandbox/customers/{customerId}/capabilities/{capabilityId}/status:
status and openTaskIds as the result your product must handle.
Test an open task
Create a sandbox task withPOST /v3/sandbox/tasks. Scope it to the resource whose workflow you are testing and use items to describe what the customer must submit. This guide shows capability and transfer workflows; API Reference defines the customer scope and the complete request schema.
Use an explanation item for a text response and a document item for an upload. New profile items also require profilePointer, a JSON Pointer naming the customer field. See Create sandbox task for the other item types and fields.
For the transfer example, first create a sandbox transfer through a pay-in or payout flow, then export its returned data.id:
- Capability + explanation
- Transfer RFI + document
data.id as TASK_ID, data.revision as TASK_REVISION, and the current data.requirements[0].id as REQUIREMENT_ID. Match the answer to the item you created when you call POST /v3/customers/{customerId}/tasks/{taskId}/submissions:
- Explanation answer
- Document answer
POST /v3/sandbox/tasks/{taskId}/review:
Fund a sandbox wallet
Credit an issued wallet withPOST /v3/sandbox/accounts/{accountId}/topup:
data.id as TRANSFER_ID when you want to inspect the simulated funding transfer.
The topup id is a transfer id. Fetch it through GET /v3/transfers/{transferId} or list it through GET /v3/transfers to exercise your inbound-deposit code path against sandbox topups. The transfer projection is a completed inbound stablecoin deposit with origin: "inbound_deposit", method: "stablecoin_transfers", and direction: "stablecoin_move", and it is returned by the matching accountId, origin, method, and direction list filters.
Complete or fail a transfer
Set the outcome withPOST /v3/sandbox/transfers/{transferId}/state:
- Complete
- Fail