Create a custom wallet type

Enables you to create a custom Tilia Wallet to use for nonstandard transaction flows. Reach out to Tilia to define the new wallet type.

  • NOTE: A wallet created from this endpoint will not have an associated payment method. Hence, the wallet would not be usable for purchase in the Checkout Widget. To enable purchase using this custom wallet, create an associated wallet payment method (as described in the Create a Custom Wallet payment method document in the Payments API reference section).
Securitytilia_auth
Request
Request Body schema: application/json
required

Request for creating a custom wallet for an account

account_id
required
string <= 36 characters

Account ID for the wallet.

wallet_type
required
string

The name of the wallet type. This value must match the value configured by Tilia in your account's settings.

tags
Array of arrays

List of tags to attach to the wallet.

Responses
200

Response for the create a custom Wallet request

400

Invalid input

401

Unauthorized access.

500

Service unavailable or server error.

post/v2/wallet/custom
Request samples
application/json
{
  • "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
  • "wallet_type": "publisher_hosted",
  • "tags": [
    ]
}
Response samples
application/json
{
  • "status": "Success",
  • "message": null,
  • "codes": null,
  • "payload": {
    }
}