GET
/
book
/
{id}
curl --request GET \
  --url https://api.treasuryprime.com/book/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "amount": "100.00",
  "created_at": "2017-11-02T11:55:14Z",
  "description": null,
  "from_account_id": "acct_1234567890",
  "id": "book_1029384756",
  "status": "pending",
  "to_account_id": "acct_0987654321",
  "updated_at": "2017-11-02T11:55:14Z",
  "userdata": null
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Unique identifier for object

Response

200 - application/json
The book
amount
string

Amount of money to transfer, with two decimal precision

bank_id
string

ID of the bank with which the object is associated

bankdata
object

Optional arbitrary data that can be attached for the bank's use

description
string

Optional description (maximum of 10 characters)

error
string

Error message describing why a book transfer failed to send

from_account_id
string

ID of the account originating the transfer. Filterable.

id
string

Unique identifier for object

org_id
string

ID of the organization with which the object is associated. Filterable.

status
string

One of pending, canceled, sent, or error. Filterable.

to_account_id
string

ID of the account receiving the transfer. Filterable.

userdata
object

Arbitrary data the user can attach to the object