Create Demo Backup Payment Method
Create a demo backup payment method (linked account) for a wallet in testing environments.
This endpoint simulates linking a bank account to a wallet for backup payment purposes without requiring actual bank account credentials or Plaid integration.
The created linked account can be used as a backup payment method for transactions when the primary funding source is insufficient.
This endpoint is only available in development, sandbox, and local testing environments.
The testCardType parameter is optional and allows you to specify which type of test card to simulate. If not provided, a default test card type will be used.
Request
- Base URLhttps://merchant-api.accruesavings.com
- Authnone declared. Required headers: Client-ID, Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Wallet ID
Headers
The unique identifier of the client making the request. This header is required to retrieve the client-specific configuration and ensure that the response is tailored to the client's settings and permissions.
Secure secret to access privileged endpoints.
Request body
Example request
{
"testCardType": "visa-us-credit"
}Response
Successfully created demo backup payment method
Example response
{
"data": {
"attributes": {
"linkedAccountId": "123e4567-e89b-12d3-a456-426614174000",
"accountMask": "1234",
"institutionName": "Test Bank",
"accountType": "checking",
"status": "active"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.