Payments (1.0.0)

Download OpenAPI specification:Download

The Payments API enables you to retrieve payment method information for an account, including the account's wallet balance.

In general, you will not use this API to retrieve payment methods in the context of a transaction (e.g. an account's PayPal or credit card information). Instead, you will direct your user to the Tilia web UI in the context of a purchase flow, which allows the user to select their desired payment method, returning the necessary payment details to you for use in setting up the transaction.

Get payment methods

Retrieves all of the payment methods associated with the specified account ID.

Securitytilia_auth
Request
path Parameters
account_id
required
string (AccountId) <= 36 characters

The account ID to retrieve payment methods for.

Example: acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b
Responses
200

Payment method information was retrieved successfully.

400

Invalid input

401

Unauthorized access.

500

Service unavailable or server error.

get/{account_id}/payment_methods
Request samples
Response samples
application/json
{
  • "status": "Success",
  • "message": [ ],
  • "codes": [ ],
  • "payload": [
    ]
}