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.

Request
Security:
tilia_auth (read_payment_methods)
path Parameters
account_id
required
string <UUID4>

The account ID

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
curl -i -X GET \
  'https://payments.tilia-inc.com/transaction-methods/:account_id?state=string&capability=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "payload": {
    },
  • "codes": null,
  • "message": null,
  • "status": "Success"
}