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.
Retrieves all of the payment methods associated with the specified account ID.
Payment method information was retrieved successfully.
Invalid input
Unauthorized access.
Service unavailable or server error.
{- "status": "Success",
- "message": [ ],
- "codes": [ ],
- "payload": [
- {
- "id": "151a109d-c8e6-4202-9424-33333333333",
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "method_class": "american-express",
- "display_string": "American Express ending in 0002",
- "provider": "rebilly",
- "psp_reference": "8415980438197366",
- "psp_hash_code": "2e141bf3bc640ec70efb88931aaaaaaa",
- "processing_currency": "USD",
- "pm_state": "ACTIVE",
- "integrator": "acme",
- "created": "2020-08-21 09:03:39",
- "updated": "2020-08-21 09:03:39"
}, - {
- "id": "4ba04731-9f66-4123-a8a1-7ef815444444",
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "method_class": "paypal",
- "display_string": "Paypal Account user@example.com",
- "provider": "paypal",
- "psp_reference": "YT8R32KXE999A",
- "psp_hash_code": "B-0D829766730777777",
- "processing_currency": "USD",
- "pm_state": "ACTIVE",
- "integrator": "acme",
- "created": "2020-09-01 09:12:35",
- "updated": "2020-09-01 09:12:35"
}, - {
- "id": "d3da84e7-a203-4453-a016-407e91eeeeee",
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "method_class": "registration",
- "display_string": "USD Wallet",
- "provider": "wallet",
- "psp_reference": "wal_2V2cKKIT5fKwlYVYNBRLaWZGmQX",
- "psp_hash_code": "",
- "processing_currency": "USD",
- "pm_state": "ACTIVE",
- "integrator": "acme",
- "created": "2020-08-14 10:59:59",
- "updated": "2020-08-14 10:59:59",
- "wallet_balance": "2457",
- "provider_data": {
- "wallet_id": "wal_2V2cKKIT5fKwlYVYNBRLaWZGmQX",
- "wallet_balance": "2457"
}
}, - {
- "id": "0e3037fd-9fbc-499b-b5e5-19948502cbdb",
- "account_id": "acct_2UU7ypRsFlZPnrOZDaIUIDaSwPs",
- "method_class": "wells_fargo",
- "display_string": "Checking ending in 1234",
- "provider": "banking",
- "psp_reference": "400e4c4b-4910-49fb-821c-8a82d93eef85",
- "processing_currency": "USD",
- "pm_state": "ACTIVE",
- "integrator": "acme",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "provider_data": {
- "bank_name": "Wells Fargo",
- "subtype": "CHECKING",
- "display_account_number": "1234"
}
}, - {
- "id": "151a109d-c8e6-4202-9424-33333333333",
- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "method_class": "google",
- "display_string": "google",
- "provider": "pobo",
- "psp_reference": "8415980438197366",
- "psp_hash_code": "2e141bf3bc640ec70efb88931aaaaaaa",
- "processing_currency": "USD",
- "pm_state": "ACTIVE",
- "integrator": "acme",
- "created": "2020-08-21 09:03:39",
- "updated": "2020-08-21 09:03:39"
}
]
}