Get transaction methods for a given account

Retrieves all of the payment methods and wallet balances for the specified account ID.

The capabilities object defines how payment methods may be used. A payment method ID in the purchase capability array means that it may be used to pay for invoices. Some payment methods can be used in multiple ways and therefore appear in multiple capability arrays. The IDs in the capability arrays are keys into the response payment_methods object, which provides more detail on a given payment method.

The balances object returns the state of this user's Tilia wallet balances. Virtual currencies return 1) spendable balance, which denotes the total balance the user may spend, and 2) convertible balance, which is the virtual balance that the user may convert to fiat through token conversion. Spendable balance is the sum of convertible and non-convertible balances. In the case of fiat currencies, only spendable balances are returned.

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

The account ID

Example: acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b
query Parameters
state
string

all will return all Payment Methods (including those with an inactive state).

capability
string

filters the response by [purchase, payout, deposit]

Responses
200

Transaction Methods Response

400

Invalid input

401

Unauthorized access.

404

Resource not found.

500

Service unavailable or server error.

get/transaction-methods/{account_id}
Request samples
Response samples
application/json
{
  • "payload": {
    },
  • "codes": null,
  • "message": null,
  • "status": "Success"
}