Create a custom wallet payment method

Enables you to create a custom Tilia Wallet to use for nonstandard transaction flows.

  • NOTE: A wallet payment method created from this endpoint also has an associated wallet. Hence, the payment method would be usable for purchase in the Checkout Widget. To create a wallet that only holds funds, but is not usable in the Checkout widget, visit Create a Custom Wallet document.
Securitytilia_auth
Request
Request Body schema: application/json
required

Create a custom wallet payment method request

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

Create a Custom Payment Method Response

400

Invalid input

401

Unauthorized access.

500

Service unavailable or server error.

post/v2/payment-method/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": {
    }
}