Resources
Account End-Of-Day
Account End-Of-Day is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the account end-of-day resource. |
| type | string | Type of the account end-of-day resource. The value is always accountEndOfDay. |
| attributes | JSON Object | JSON object representing the account end-of-day data. |
| relationships | JSON:API Relationships | Describes relationships between the statement resource and other resources (account and customer). |
Attributes
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The account the resource belongs to. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
{
"type": "accountEndOfDay",
"id": "4925158",
"attributes": {
"date": "2021-07-10",
"balance": 1000,
"available": 500,
"hold": 500
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "30317"
}
}
}
}
Account Low Balance Closure Transaction
An accountLowBalanceClosureTransaction represents account low balance closure transaction.
AccountLowBalanceClosureTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always accountLowBalanceClosureTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (accounts, customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| receiverCounterparty | Counterparty | The receiving party of the transaction. |
| tags | object | See Tags. Inherited from the payment tags (see Tag Inheritance). |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| receiverAccount | JSON:API Relationship | The Deposit Account receiver. |
{
"data": {
"type": "accountLowBalanceClosureTransaction",
"id": "53",
"attributes": {
"createdAt": "2022-04-06T10:46:34.371Z",
"receiverCounterparty": {
"name": "Unit Finance Inc.",
"routingNumber": "091311229",
"accountNumber": "864800000000",
"accountType": "Checking"
},
"amount": 800,
"direction": "Credit",
"balance": 113000,
"summary": "Account Low Balance Closure",
"tags": {
"customer_type": "vip"
}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"customers": {
"data": [
{
"type": "customer",
"id": "10000"
}
]
},
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"receiverAccount": {
"data": {
"type": "account",
"id": "10000"
}
}
}
}
}
AccountHold
AccountHold is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the account hold resource. |
| type | string | Type of the resource, the value is always accountHold. |
| attributes | JSON Object | JSON object representing the account hold data. |
| relationships | JSON:API Relationships | Describes relationships between the account hold resource and the account. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| status | string | Status of the account hold, either Active, Released, PartiallyReleased. |
| amount | integer | The amount (cents) of the payment. |
| remainingHoldAmount Optional | integer | The remaining amount (cents) being held. Only present when status is PartiallyReleased. |
| expiredAt Optional | RFC3339 Date string | Date only (e.g. "2001-08-15"). the date the account hold will be automatically released at. |
| description | string | Account hold description (maximum of 80 characters). |
| tags Optional | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Account the account hold belongs to. |
{
"data": {
"type": "accountHold",
"id": "7345432",
"attributes": {
"createdAt": "2024-10-02T12:39:25.107Z",
"expiredAt": "2024-10-10",
"status": "Active",
"amount": 4433,
"description": "Account Hold Reason 1"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "158853345"
}
}
}
}
}
ACH Counterparty
Counterparty is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the ACH counterparty resource. |
| type | string | Type of the ACH counterparty resource. |
| attributes | JSON Object | JSON object representing the counterparty resource. |
| relationships | JSON:API Relationships | Describes relationships between the ACH counterparty and the originating customer. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| name | string | The account holder's name (whether an individual or a business). |
| routingNumber | string | Valid 9-digit ABA routing transit number. |
| bank | string | Name of the bank. |
| accountNumber | string | Bank account number. |
| accountType | string | Either Checking, Savings or Loan. |
| type | string | Either Business, Person or Unknown. |
| permissions | string | Either CreditOnly or CreditAndDebit. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| customer | JSON:API Relationship | The customer the counterparty belongs to. |
{
"type": "achCounterparty",
"id": "8",
"attributes": {
"createdAt": "2020-05-13T09:07:47.645Z",
"name": "Joe Doe",
"routingNumber": "011000138",
"bank": "Bank Of America",
"accountNumber": "123",
"accountType": "Checking",
"type": "Person",
"permissions": "CreditOnly"
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "111111"
}
}
}
}
ACH Payment
AchPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the ACH payment resource. |
| type | string | Type of the payment resource. For originations the value is achPayment. |
| attributes | JSON Object | JSON object representing the payment resource. |
| relationships | JSON:API Relationships | Describes relationships between the ACH payment and the originating deposit account and customer. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| status | string | One of Pending,Pending Review, Rejected, Clearing, Sent, Canceled, Returned. See ACH Status. |
| reason Optional | string | More information about the status. |
| counterparty | Counterparty | The party on the other side of the ACH payment. |
| direction | string | The direction in which the funds flow (either Debit or Credit). |
| description | string | Payment description (maximum of 10 characters), also known as Company Entry Description, this will show up on statement of the counterparty. |
| addenda | string | Optional, additional payment description (maximum of 50 characters), not all institutions present that. |
| amount | integer | The amount (cents) of the payment. |
| settlementDate | RFC3339 Date string | Optional, for ACH debit with statuses Pending,Clearing, shows the date on which the payment will be settled. |
| expectedCompletionDate | RFC3339 Date string | Optional, for ACH credit with statuses Pending,Sent, shows the date on which the counterparty will handle the request. |
| tags | object | See Tags. |
| counterpartyVerificationMethod | string | Optional, shows the verification method of the counterparty : 'Plaid'. |
| sameDay | boolean | Indicates whether the payment is a Same Day ACH payment. See Same Day ACH. |
| secCode | string | The 3-letter ACH Standard Entry Class (SEC) Code. One of WEB, CCD, PPD. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account originating the transfer. |
| customer | OptionalJSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| counterparty | JSON:API Relationship | The Counterparty the payment to be made to. |
| transaction Optional | JSON:API Relationship | The transaction generated by this payment. Generated instantly in cases where a credit ach payment is converted to a book payment, otherwise, once the payment is sent. |
| recurringPayment | Optional, JSON:API Relationship | The recurring payment belonging to this payment. |
{
"data": {
"type": "achPayment",
"id": "50",
"attributes": {
"createdAt": "2020-01-13T16:01:19.346Z",
"status": "Pending",
"counterparty": {
"routingNumber": "812345678",
"accountNumber": "12345569",
"accountType": "Checking",
"name": "Jane Doe"
},
"description": "Funding",
"direction": "Credit",
"amount": 10000,
"sameDay": false,
"secCode": "WEB"
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "555"
}
},
"customer": {
"data": {
"type": "individualCustomer",
"id": "99823"
}
},
"counterparty": {
"data": {
"type": "counterparty",
"id": "4567"
}
},
"transaction": {
"data": {
"type": "transaction",
"id": "4003"
}
}
}
}
}
ACH Received Payment
AchReceivedPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the received payment resource. |
| type | string | Type of the transaction resource. The value is always achReceivedPayment. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account, customer related transactions). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all receive payment types. |
| status | string | The status of the Received Payment. One of Pending, PendingReview, MarkedForReturn, Advanced, Completed or Returned, see ReceivedPayment Statuses. Common to all received payment types. |
| wasAdvanced | boolean | Will be true if the received payment was or is being Advanced (has or has had the status Advanced). Common to all received payment types. |
| isAdvaceable | boolean | Will be true if the received payment can be advanced. |
| direction | string | The direction in which the funds flow (either Debit or Credit). |
| completionDate | RFC3339 Date string | Shows the date on which the received ACH will be completed(settled or repaid). |
| returnReason Optional | string | The reason if the received payment is Returned. See ACH return reasons. |
| amount | integer | The amount (cents) of the ACH received payment. Common to all received payment types. |
| description | string | ACH description (maximum of 10 characters), also known as Company Entry Description. |
| addenda Optional | string | Additional transaction description (maximum of 80 characters). |
| companyName | string | The name by which the originator is known to the receiver. |
| originatorEntityId Optional | string | A unique identifier by which the originator is formally recognized within the ACH network. |
| receivingEntityName Optional | string | The name of the Recipient as it was declared by the originator of the payment. |
| counterpartyRoutingNumber | string | The routing number of the party that originated the received ACH payment. |
| traceNumber | string | The ACH Trace Number. |
| secCode Optional | string | The 3-letter ACH Standard Entry Class (SEC) Code (e.g. WEB, CCD, PPD, etc.). |
| returnCutoffTime Optional | RFC3339 Date string | The last time when a reprocess will be accepted. Will be the next banking day 2pm ET. |
| canBeReprocessed Optional | boolean | If set to true, the Received Payment can be reprocessed until the returnCutoffTime. If empty, the Received Payments can't be reprocessed. |
| tags Optional | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to, business or individual. |
| receivePaymentTransaction | Optional, JSON:API Relationship | The transaction of the received payment, created due to advance or when the ACH is processed. |
| paymentAdvanceTransaction | Optional, JSON:API Relationship | The transaction that funded the Advance from the provisional credit operating account, if the received payment was advanced. |
| repayPaymentAdvanceTransaction | Optional, JSON:API Relationship | The transaction that repaid the advance once the received payment is completed. |
| stopPayment Optional | JSON:API Relationship | Available for payments that were stopped. |
{
"type": "achReceivedPayment",
"id": "1337",
"attributes": {
"createdAt": "2022-02-01T12:03:14.406Z",
"status": "Completed",
"wasAdvanced": true,
"amount": 100000,
"completionDate": "2022-01-23",
"companyName": "Uber",
"counterpartyRoutingNumber": "051402372",
"description": "Sandbox Transaction",
"traceNumber": "123456789123456",
"secCode": "PPD",
"returnCutoffTime": "2024-08-27T18:00:00.000Z",
"canBeReprocessed": "true",
"tags": {}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "163555"
}
},
"customer": {
"data": {
"type": "customer",
"id": "129522"
}
},
"receivePaymentTransaction": {
"data": {
"type": "transaction",
"id": "101"
}
},
"paymentAdvanceTransaction": {
"data": {
"type": "transaction",
"id": "202"
}
},
"repayPaymentAdvanceTransaction": {
"data": {
"type": "transaction",
"id": "890"
}
}
}
}
Wire Received Payment
WireReceivedPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the received payment resource. |
| type | string | Type of the transaction resource. The value is always wireReceivedPayment. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account, customer related transactions). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all receive payment types. |
| status | string | The status of the Received Payment. One of Pending, PendingReview, MarkedForReturn, Advanced, Completed or Returned, see ReceivedPayment Statuses. Common to all received payment types. |
| direction | string | The direction in which the funds flow (Credit only). |
| returnReason Optional | string | The reason if the received payment is Returned. |
| amount | integer | The amount (cents) of the wire received payment. Common to all received payment types. |
| description | string | Payment description (maximum of 50 characters). |
| counterparty | Counterparty | The party on the other end of the transaction, either the beneficiary or the originator. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to, business or individual. |
| receivePaymentTransaction | Optional, JSON:API Relationship | The transaction of the received payment, created when the wire is processed. |
{
"type": "wireReceivedPayment",
"id": "1338",
"attributes": {
"createdAt": "2022-02-01T12:03:14.406Z",
"status": "Completed",
"amount": 100000,
"direction": "Credit",
"description": "Wire payment from customer",
"counterparty": {
"name": "John Doe",
"routingNumber": "812345678",
"accountNumber": "10039",
"accountType": "Checking"
},
"tags": {}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "163555"
}
},
"customer": {
"data": {
"type": "customer",
"id": "129522"
}
},
"receivePaymentTransaction": {
"data": {
"type": "transaction",
"id": "101"
}
}
}
}
Realtime Received Payment
RealtimeReceivedPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the received payment resource. |
| type | string | Type of the received payment resource. The value is always realtimeReceivedPayment. |
| attributes | JSON Object | JSON object representing the received payment data. |
| relationships | JSON:API Relationships | Describes relationships between the received payment resource and other resources (account, customer, transaction). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the received payment was created. Common to all receive payment types. |
| status | string | The status of the Received Payment. One of Pending, Completed, Returned, Rejected, or TimedOut. See Received Payment Statuses. |
| amount | integer | The amount (cents) of the RTP received payment. |
| description | string | Payment description / remittance information. |
| counterparty | Real-Time Counterparty | The party on the other end of the transaction. For RTP received payments, this is always the originator (in ISO20022 terminology this is referred to as the Debtor). |
| returnReason Optional | string | Present when status is Returned. See RTP return reasons. |
| rejectReason Optional | string | Present when status is Rejected. See RTP reject reasons. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to, business or individual. |
| receivePaymentTransaction | Optional, JSON:API Relationship | The Real-Time Payment Transaction created when the RTP is completed. |
{
"type": "realtimeReceivedPayment",
"id": "30176752",
"attributes": {
"createdAt": "2026-07-10T22:43:34.385Z",
"status": "Completed",
"amount": 6911520,
"description": "Invoice 4821",
"counterparty": {
"name": "WFG NATL TITLE CO OF",
"routingNumber": "121000248",
"accountNumber": "9876543210"
},
"tags": {}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "2150353"
}
},
"customer": {
"data": {
"type": "customer",
"id": "1802611"
}
},
"receivePaymentTransaction": {
"data": {
"type": "transaction",
"id": "9547"
}
}
}
}
Declined Incoming Payment
DeclinedIncomingPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the declined incoming payment resource. |
| type | string | Type of the declined incoming payment resource. The value is always declinedIncomingPayment. |
| attributes | JSON Object | JSON object representing the declined incoming payment resource. |
| relationships | JSON:API Relationships | Describes relationships between the declined incoming payment and the originating deposit account and customer. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| reason | string | The reason for the transaction return. See ACH return reasons. |
| direction | string | The direction in which the funds flow (either Debit or Credit). |
| amount | integer | The amount (cents) of the payment. |
| type | string | Type of the payment resource. |
Currently only AchPayment payment type is supported.
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account originating the transfer. |
| customer | OptionalJSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
{
"data": {
"type": "declinedIncomingPayment",
"id": "1",
"attributes": {
"direction": "Credit",
"amount": 10000,
"reason": "NoAccount",
"paymentType": "AchPayment",
"createdAt": "2020-01-13T16:01:19.346Z"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "555"
}
},
"customer": {
"data": {
"type": "customer",
"id": "99823"
}
}
}
}
}
ACH Repayment
AchRepayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the ACH repayment resource. |
| type | string | Type of the payment resource. For ach repayment the value is achRepayment. |
| attributes | JSON Object | JSON object representing the repayment resource. |
| relationships | JSON:API Relationships | Describes relationships between the ACH repayment and the originating deposit account, credit account and org. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt | RFC3339 Date string | The date the resource was updated. |
| amount | integer | The amount (cents) of the payment. |
| status | string | Either Pending, PendingReview, Returned, Sent or Rejected |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account originating the repayment. |
| creditAccount | JSON:API Relationship | The Credit Account the repayment is made for. |
| org | JSON:API Relationship | The org the customer belongs to. |
| customer | Optional, JSON:API Relationship | The Customer the credit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| counterparty | JSON:API Relationship | The Counterparty the repayment to be made from. |
| payment | JSON:API Relationship | The payment created between the account and the counterparty |
| recurringRepayment | JSON:API Relationship | Only present when re repayment was created through a Recurring Repayment. |
{
"data": {
"type": "achRepayment",
"id": "1",
"attributes": {
"createdAt": "2022-09-19T09:02:13.343Z",
"updatedAt": "2022-09-19T09:02:13.343Z",
"amount": 200,
"status": "Pending"
},
"relationships": {
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"account": {
"data": {
"type": "account",
"id": "10003"
}
},
"counterparty": {
"data": {
"type": "counterparty",
"id": "1"
}
},
"creditAccount": {
"data": {
"type": "creditAccount",
"id": "10007"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10002"
}
},
"payment": {
"data": {
"type": "payment",
"id": "1"
}
},
"recurringRepayment": {
"data": {
"type": "recurringRepayment",
"id": "4"
}
}
}
}
}
ACH Stop Payment
achStopPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the ACH stop payment resource. |
| type | string | Type of the ACH stop payment resource. The value is always achStopPayment. |
| attributes | JSON Object | JSON object representing the ACH stop payment resource. |
| relationships | JSON:API Relationships | Describes relationships between the ACH stop payment resource and other resources |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt | RFC3339 Date string | The date the resource was updated. |
| minAmount Optional | integer | The amount (cents) above which a received ACH payments will be stopped. |
| originatorName Optional | Array of strings | Array of originator names to look on a payment to stop. |
| direction | string | Debit only. |
| expiration | RFC3339 Date string | Expiration date fo the stop payment |
| isMultiUse | Boolean | |
| description | String | |
| disableReason Optional | string | One of Expired, Requested or PaymentStopped |
| idempotencyKey | string | Optional, but strongly recommended . See Idempotency. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account receiving the check payment and will be debited for it. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
{
"type": "achStopPayment",
"id": "13235",
"attributes": {
"createdAt": "2023-02-05T18:32:34.682Z",
"updatedAt": "2023-02-05",
"minAmount": 21000,
"direction": "Debit",
"isMultiUse": true,
"expiration": "2025-02-05T18:32:34.682Z",
"status": "Active",
"description": "Test",
"tags": {
"test": "test"
}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "123456"
}
},
"customer": {
"data": {
"type": "customer",
"id": "95032"
}
},
"customers": {
"data": [
{
"type": "customer",
"id": "95032"
}
]
}
}
}
Adjustment Transaction
AdjustmentTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always adjustmentTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| description | string | Description of the transaction. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account participating in the transaction. |
{
"type": "adjustmentTransaction",
"id": "215",
"attributes": {
"createdAt": "2021-04-12T16:08:39.040Z",
"amount": 5000,
"direction": "Debit",
"balance": 3124000,
"summary": "correction of transaction #200",
"description": "correction of transaction #200"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
}
}
}
APIToken
APIToken is a JSON:API resource, top-level fields:
Attributes
{
"data": {
"id": "20",
"type": "apiToken",
"attributes": {
"createdAt": "2021-07-01T09:04:50.987Z",
"description": "Production token",
"expiration": "2022-07-01T13:47:17.000Z",
"token": "v2.public.eyJyb2xlIjoib3JnI..."
}
}
}
ApplicationDocument
ApplicationDocument is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the document resource. |
| type | string | Always document. |
| attributes | JSON Object | JSON object representing the document's data. |
Attributes
| Name | Type | Description |
|---|---|---|
| status | string | One of Required, ReceivedBack, ReceivedFront, Invalid, Approved or PendingReview, see Application Document Status. |
| documentType | string | One of IdDocument, Passport, AddressVerification, CertificateOfIncorporation, EmployerIdentificationNumberConfirmation, SocialSecurityCard, ClientRequested or SelfieVerification. |
| description | string | The document requirements description. |
| name | string | Name of business or individual. |
| address | Address | Individual address, present only for the AddressVerification document type. |
| dateOfBirth | RFC3339 Date string | Date only (e.g. "2001-08-15"). Present only for Passport and IdDocument document types. |
| passport | string | Individual passport number. Present only for the Passport document type. |
| ein | string | Business EIN. Present only for the EmployerIdentificationNumberConfirmation document type. |
| reasonCode | string | Application Document rejection reason code. Present only when document status is Invalid. One of PoorQuality, NameMismatch, SSNMismatch, AddressMismatch, DOBMismatch, ExpiredId, EINMismatch, StateMismatch, Other. |
| reason | string | Application Document rejection reason. Present only when document status is Invalid. |
| archived | boolean | When true , uploading a document is disabled. |
{
"type": "document",
"id": "3",
"attributes": {
"documentType": "IdDocument",
"status": "Approved",
"description": "Please provide a copy of your unexpired government issued photo ID which would include Drivers License or State ID.",
"name": "Richard Hendricks",
"dateOfBirth": "2001-08-15"
}
}
Approved Credit Application
ExistingCustomerCreditApplication is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the application resource. |
| type | string | Type of the credit application resource. For existingCustomerCreditApplication the value is always existingCustomerCreditApplication. |
| attributes | JSON Object | JSON object representing the credit application data. |
| relationships | JSON:API Relationships | Describes relationships between the credit application resource and other resources. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| status | string | The status of the credit application. will be always Approved. |
| aggregatorAccessTokens Optional | Array of string | Array of aggregator access tokens which are Plaid (or other account linking platform) integration tokens. See Plaid processor token |
| annualIncome Optional | Integer (Cents) | The annual income of the applicant. |
| numberOfEmployees Optional | NumberOfEmployees | Number of employees of the business. |
| yearsInBusiness Optional | Integer | Number of years the business has been in operation. |
| additionalUnderwritingData Optional | json | Object containing key-value pairs of underwriting data per credit policy. |
Relationships
| Name | Type | Description |
|---|---|---|
| application | JSON:API Relationship | The Application to which this credit application applies to. |
| lendingProgram | JSON:API Relationship | The LendingProgram to which this credit application is related to. |
{
"data": {
"type": "existingCustomerCreditApplication",
"id": "12",
"attributes": {
"createdAt": "2024-02-18T12:33:32.158Z",
"status": "Approved",
"aggregatorAccessTokens": [],
"annualIncome": 1,
"numberOfEmployees": "One",
"yearsInBusiness": 4,
"additionalUnderwritingData": {
"dad": "dada"
}
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10002"
}
},
"lendingProgram": {
"data": {
"type": "lendingProgram",
"id": "1"
}
}
}
}
}
ATM Authorization Request
AtmAuthorizationRequest is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the authorization request resource. |
| type | string | Type of the authorization request resource. The value is always atmAuthorizationRequest. |
| attributes | JSON Object | JSON object representing the authorization request data. |
| relationships | JSON:API Relationships | Describes relationships between the authorization request resource and other resources (account, customer and card). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the authorization request was created. |
| amount | integer | The amount (cents) of the authorization request. |
| status | string | The status of the authorization request. Either Pending, Approved or Declined. |
| partialApprovalAllowed | boolean | Indicates whether the authorization request supports partial amount approval. |
| approvedAmount Optional | integer | The amount (cents) that was approved. Available only when status is Approved. |
| declineReason Optional | string | The reason the authorization request was declined. One of AccountClosed, CardExceedsAmountLimit, DoNotHonor, InsufficientFunds, InvalidMerchant, ReferToCardIssuer, RestrictedCard, Timeout, TransactionNotPermittedToCardholder. Available only when status is Declined |
| direction | string | The direction in which the funds flow (either Debit or Credit). |
| atmName | string | The name of the ATM. |
| atmLocation Optional | string | The location (city, state, etc.) of the ATM. |
| surcharge | number | The surcharge fee (cents) for the transaction. |
| internationalServiceFee Optional | number | The fee (cents) for international transactions. |
| cardNetwork Optional | string | The card network used, one of: Visa, Interlink, Accel, Allpoint, Other. |
| tags | object | See Tags. |
| currencyConversion Optional | Currency Conversion | When original currency for transaction is not USD. |
| isInternational Optional | boolean | Indicates whether the transaction is international. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| card | JSON:API Relationship | The debit card used in the purchase. |
{
"type": "atmAuthorizationRequest",
"id": "1",
"attributes": {
"createdAt": "2021-06-22T13:39:17.018Z",
"amount": 2500,
"status": "Pending",
"partialApprovalAllowed": false,
"direction": "Debit",
"atmName": "HOME FED SAV BK",
"atmLocation": "Cupertino, CA, US",
"surcharge": 0,
"internationalServiceFee": 0,
"cardNetwork": "Allpoint",
"currencyConversion": {
"originalCurrency": "EUR",
"amountInOriginalCurrency": 1000,
"fxRate": "1.164"
},
"isInternational": true
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"card": {
"data": {
"type": "card",
"id": "7"
}
}
}
}
ATM Authorization Request V2
ATM Authorization Request V2 is a JSON:API resource, top-level fields:
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| available | integer | The available balance for spending (in cents). |
| status | string | The status of the request. will be always "Pending" |
| partialApprovalAllowed | boolean | Indicates whether the authorization request supports partial amount approval. |
| direction | string | The direction in which the funds flow (either Debit or Credit). |
| atmName | string | The name of the ATM. |
| atmLocation Optional | string | The location (city, state, etc.) of the ATM. |
| surcharge | number | The surcharge fee (cents) for the transaction. |
| internationalServiceFee Optional | number | The fee (cents) for international transactions. |
| mustBeApproved | boolean | Indicates whether the authorization request must be approved. |
| idempotencyKey | string | See Idempotency |
| tags | object | See Tags. |
| currencyConversion Optional | Currency Conversion | When original currency for transaction is not USD. |
| isInternational Optional | boolean | Indicates whether the transaction is international. |
| cardNetwork Optional | string | The network that this card is a part of, e.g. Visa, Interlink, etc. |
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The account of the customer creating the atm transaction. |
| customer | JSON:API Relationship | The customer that created the atm transaction. |
| card | JSON:API Relationship | The debit card used in the transaction. |
| authorizationRequest | JSON:API Relationship | The authorization request. |
{
"data": [
{
"type": "pendingAuthorizationRequest",
"id": "125",
"attributes": {
"createdAt": "2023-07-20T09:27:49.702Z",
"amount": 2500,
"available": 336350,
"status": "Pending",
"partialApprovalAllowed": false,
"direction": "Debit",
"atmName": "HOME FED SAV BK",
"surcharge": 0,
"mustBeApproved": false,
"idempotencyKey": "9345cd5e-3110-48bb-8b8c-09b3b714164e",
"currencyConversion": {
"originalCurrency": "EUR",
"amountInOriginalCurrency": 1000,
"fxRate": "1.164"
},
"isInternational": true,
"cardNetwork": "Visa"
},
"relationships": {
"account": {
"data": {
"id": "10005",
"type": "account"
}
},
"customer": {
"data": {
"id": "10001",
"type": "customer"
}
},
"card": {
"data": {
"id": "28",
"type": "card"
}
},
"authorizationRequest": {
"data": {
"id": "125",
"type": "atmAuthorizationRequest"
}
}
}
}
]
}
ATM Location
ATM Location is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| type | string | Type of the ATM location resource. The value is always atmLocation. |
| attributes | JSON Object | JSON object representing the ATM location data. |
Attributes
| Name | Type | Description |
|---|---|---|
| network | string | Name of the ATM network. |
| locationName | string | Name of the ATM's location. |
| coordinates | Coordinates | Coordinates (latitude, longitude) of the ATM. |
| address | Address | Address of the ATM. |
| distance | number | Distance to the ATM (in miles). |
| surchargeFree | boolean | Indicates if the ATM is surcharge free. |
| acceptDeposits | boolean | Indicates if the ATM accepts deposits. |
{
"type": "atmLocation",
"attributes": {
"network": "Allpoint",
"locationName": "SPEEDWAY",
"coordinates": {
"longitude": -73.93041,
"latitude": 42.79894
},
"address": {
"street": "229 S BRANDYWINE AVE",
"city": "SCHENECTADY",
"state": "NY",
"postalCode": "12307",
"country": "US"
},
"distance": 1.07,
"surchargeFree": true,
"acceptDeposits": false
}
}
ATM Transaction
AtmTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always atmTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account and customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction, including the surcharge fee. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| cardLast4Digits | string | The last 4 digits of the debit card involved in the transaction. |
| atmName | string | The name of the ATM. |
| atmLocation Optional | string | The location (city, state, etc.) of the ATM. |
| surcharge | number | The surcharge fee (cents) for the transaction. |
| interchange Optional | string | The interchange share for this transaction. Calculated at the end of each day, see the transaction.updated event. |
| grossInterchange Optional | string | The gross interchange share for this transaction. |
| cardNetwork Optional | string | The card network used, one of: Visa, Interlink, Accel, Allpoint, Other. |
| tags | object | See Tags. |
| currencyConversion Optional | Currency Conversion | When original currency for transaction is not USD. |
| cardDecisionSource Optional | string | Who made the final card authorization decision. See Understanding authorization decisions. One of Org, Unit, Network, TimeoutApprove, TimeoutDecline, DefaultApprove, InternalError, IssuerStandIn. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| card | JSON:API Relationship | The debit card involved in the transaction. |
{
"type": "atmTransaction",
"id": "1432",
"attributes": {
"createdAt": "2020-07-05T15:49:36.864Z",
"direction": "Credit",
"amount": 10000,
"balance": 12000,
"summary": "ATM deposit",
"cardLast4Digits": "2282",
"atmName": "First National Bank",
"atmLocation": "Masontown, PA 15461",
"surcharge": 10,
"cardNetwork": "Allpoint",
"grossInterchange": "200.00",
"cardDecisionSource": "Org"
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "1000"
}
},
"customer": {
"data": {
"type": "customer",
"id": "3"
}
},
"card": {
"data": {
"type": "card",
"id": "11"
}
}
}
}
Authorization
Authorization is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the authorization resource. |
| type | string | Type of the authorization resource. The value is always authorization. |
| attributes | JSON Object | JSON object representing the authorization data. |
| relationships | JSON:API Relationships | Describes relationships between the authorization resource and other resources (account and customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the authorization was created. |
| amount | integer | The amount (cents) of the authorization. |
| cardLast4Digits | string | The last 4 digits of the debit card involved in the authorization. |
| status | string | One of Authorized, Completed, Canceled, Declined, see Authorization Statuses. |
| cardDecisionSource Optional | string | Who made the final card authorization decision. See Understanding authorization decisions. One of Org, Unit, Network, TimeoutApprove, TimeoutDecline, DefaultApprove, InternalError, IssuerStandIn. |
| declineReason Optional | string | The reason the authorization was declined. Available only when status is Declined |
| declineDescription Optional | string | A human-readable description providing additional detail about the decline. Only present on some declined authorizations. |
| declinedBy Optional | string | The entity that declined the authorization. One of Visa, Org, or Unit. Available only when status is Declined. |
| merchant.name | string | The name of the merchant. |
| merchant.type | integer | The 4-digit ISO 18245 merchant category code (MCC). |
| merchant.category | string | The merchant category, described by the MCC code (see this reference for the list of category descriptions). |
| merchant.location Optional | string | The location (city, state, etc.) of the merchant. |
| merchant.id Optional | string | The unique network merchant identifier. |
| recurring | boolean | Indicates whether the authorization is recurring |
| paymentMethod Optional | string | The payment method used, one of: Manual, Swipe, Contactless, ChipAndPin, Stored, Other. |
| digitalWallet Optional | string | The type of digital wallet used, one of: Google, Apple, Other. |
| cardVerificationData.verificationMethod Optional | string | The verification method used, one of: Address, CVV2, AddressAndCVV2. |
| cardNetwork Optional | string | The card network used, one of: Visa, Interlink, Accel, Allpoint, Other. |
| tags | object | See Tags. Inherited from the authorization request tags (see Tag Inheritance). |
| cashWithdrawalAmount Optional | integer | Cash withdrawal amount |
| summary Optional | string | Summary of the authorization. |
| richMerchantData Optional | Rich Merchant Data | Full merchant information. |
| currencyConversion Optional | Currency Conversion | When original currency for transaction is not USD |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| card | JSON:API Relationship | The debit card involved in the authorization. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| authorizationRequest | Optional, JSON:API Relationship | The preceding authorization request, if present (see Authorization Requests). |
{
"type": "authorization",
"id": "97",
"attributes": {
"createdAt": "2021-02-21T07:29:42.447Z",
"amount": 2000,
"cardLast4Digits": "0019",
"status": "Authorized",
"cardDecisionSource": "Org",
"merchant": {
"name": "Europcar Mobility Group",
"type": 3381,
"category": "EUROP CAR",
"location": "Cupertino, CA",
"id": "029859000085093"
},
"recurring": false,
"paymentMethod": "Contactless",
"digitalWallet": "Apple",
"cardVerificationData": {
"verificationMethod": "CVV2"
},
"cardNetwork": "Visa",
"summary": "Europcar Mobility Group |**0019 "
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"card": {
"data": {
"type": "card",
"id": "10501"
}
}
}
}
{
"type": "authorization",
"id": "176",
"attributes": {
"createdAt": "2021-02-21T07:29:42.447Z",
"amount": 2000,
"cardLast4Digits": "0019",
"status": "Declined",
"merchant": {
"name": "Europcar Mobility Group",
"type": 3381,
"category": "EUROP CAR",
"location": "Cupertino, CA",
"id": "029859000085093"
},
"recurring": false,
"paymentMethod": "Contactless",
"digitalWallet": "Apple",
"cardVerificationData": {
"verificationMethod": "CVV2"
},
"cardNetwork": "Visa",
"summary": "Europcar Mobility Group |**0019 ",
"declineReason": "DoNotHonor",
"declineDescription": "Card not effective (not activated)",
"declinedBy": "Visa"
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"card": {
"data": {
"type": "card",
"id": "10501"
}
}
}
}
Authorization Card Fraud Case
AuthorizationCardFraudCase is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the authorization card fraud case resource. |
| type | string | Type of the authorization card fraud case resource. The value is always authorizationCardFraudCase |
| attributes | JSON Object | JSON object representing the authorization card fraud case data. |
| relationships | JSON:API Relationships | Describes relationships between the authorization card fraud case resource and other resources. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| status | string | The status of the card fraud case. Can be one of Created, Active, Closed, Expired. |
| decision | string | The decision made for the card fraud case. Can be one of Pending, Fraud, NoFraud. |
| expiresAt | RFC3339 Date string | The date the card fraud case expires. |
| cardActivities | Array of Fraud Case Card Activity | The card activities associated with the card fraud case. |
| updatedAt Optional | RFC3339 Date string | The date the resource was last updated. |
Relationships
| Name | Type | Description |
|---|---|---|
| card | JSON:API Relationship | The Card the fraud case is related to. |
| account | JSON:API Relationship | The Account the card belongs to. |
| customer | JSON:API Relationship | The individual or business Customer the card belongs to. |
| transaction | JSON:API Relationship | The primary Authorization card activity of the card fraud case. |
{
"data": {
"type": "authorizationCardFraudCase",
"id": "9",
"attributes": {
"createdAt": "2024-07-31T11:02:27.355Z",
"status": "Closed",
"decision": "Fraud",
"expiresAt": "2024-08-03T11:02:27.355Z",
"cardActivities": [
{
"id": "15",
"createdAt": "2024-07-31T11:02:27.355Z",
"activityType": "Authorization",
"cardActivityCreatedAt": "2024-07-31T11:02:27.270Z",
"cardActivity": "8082294",
"location": "Cupertino, CA, US",
"merchant": "Apple Inc.",
"amount": 2500,
"decision": "Fraud",
"updatedAt": "2024-07-31T11:04:43.696Z"
},
{
"id": "16",
"createdAt": "2024-07-31T11:02:27.355Z",
"activityType": "Authorization",
"cardActivityCreatedAt": "2024-07-30T14:40:13.147Z",
"cardActivity": "8069211",
"location": "Cupertino, CA, US",
"merchant": "Apple Inc.",
"amount": 100,
"decision": "NoFraud",
"updatedAt": "2024-07-31T11:04:43.696Z"
},
{
"id": "17",
"createdAt": "2024-07-31T11:02:27.355Z",
"activityType": "Transaction",
"cardActivityCreatedAt": "2024-07-30T14:40:07.534Z",
"cardActivity": "8069210",
"location": "Cupertino, CA, US",
"merchant": "Apple Inc.",
"amount": 100,
"decision": "NoFraud",
"updatedAt": "2024-07-31T11:04:43.696Z"
}
],
"updatedAt": "2024-07-31T11:04:43.696Z"
},
"relationships": {
"card": {
"data": {
"type": "card",
"id": "2200412"
}
},
"account": {
"data": {
"type": "account",
"id": "49230"
}
},
"customer": {
"data": {
"type": "customer",
"id": "49430"
}
},
"authorization": {
"data": {
"type": "authorization",
"id": "8082294"
}
}
}
}
}
BatchRelease
BatchRelease is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the batch-release resource. |
| type | string | Type of the batch-release resource. The value is always batchRelease. |
| attributes | JSON Object | JSON object representing the batch-release data. |
| relationships | JSON:API Relationships | Describes relationships between the batch-release resource and other resources (accounts). |
Attributes
| Name | Type | Description |
|---|---|---|
| amount | integer | The amount (in cents) to move from the batch account to the receiver account. |
| description | string | Description of the payment. |
| senderName | string | Name of the sender, before combining the payments. |
| senderAddress | Address | Address of the sender. |
| senderAccountNumber | string | Unique identifier to monitor for similar sending accounts, could be the BIN + last four digits of the card number OR a unique identifier generated by you for the sender. |
Relationships
| Name | Type | Description |
|---|---|---|
| batchAccount | JSON:API Relationship | The batch account to release the funds from. |
| receiver | JSON:API Relationship | The account to release the funds to. |
{
"type": "batchRelease",
"id": "100123",
"attributes": {
"amount": 3000,
"description": "Gift",
"senderName": "Sherlock Holmes",
"senderAccountNumber": "4581133972",
"senderAddress": {
"street": "221B Baker Street",
"city": "London",
"postalCode": "NW1 6XE",
"country": "UK"
}
},
"relationships": {
"batchAccount": {
"data": {
"type": "batchAccount",
"id": "10104"
}
},
"receiver": {
"data": {
"type": "depositAccount",
"id": "10097"
}
}
}
}
BeneficialOwner
BeneficialOwner is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the beneficial owner resource. |
| type | string | Always beneficialOwner. |
| attributes | JSON Object | JSON object representing the beneficial owner's data. |
Attributes
| Name | Type | Description |
|---|---|---|
| status | string | One of Approved, Denied or PendingReview. |
| fullName | FullName | Full name of the beneficial owner. |
| ssn | string | SSN (or ITIN) of the beneficial owner (numbers only). Either an ssn or passport is required. |
| passport | string | Passport number of the beneficial owner. Valid only for non-US persons. Either an ssn or passport number is required. |
| nationality | ISO31661-Alpha2 string | Required if a passport is used as the main ID and optional when ssn is used. Two letters representing the beneficial owner's nationality. (e.g. "US"). |
| dateOfBirth | RFC3339 Date string | Date only (e.g. "2001-08-15"). |
| address | Address | The beneficial owner's address. |
| phone | Phone | The beneficial owner's phone number. |
| string | The beneficial owner's email address. | |
| percentage | integer | Beneficial ownership percentage in the business (between 25 and 100). |
| occupation Optional | Occupation | Occupation of the beneficial owner. |
| annualIncome Optional | AnnualIncome | Annual income of the beneficial owner. |
| sourceOfIncome Optional | SourceOfIncome | Source of income of the beneficial owner. |
{
"type": "beneficialOwner",
"id": "5",
"attributes": {
"address": {
"street": "20 Ingram St",
"street2": "Apt #10",
"city": "Forest Hills",
"state": "NY",
"postalCode": "11375",
"country": "US"
},
"dateOfBirth": "1990-04-05",
"email": "erlich@piedpiper.com",
"fullName": {
"first": "Erlich",
"last": "Bachman"
},
"phone": {
"countryCode": "1",
"number": "5555555555"
},
"ssn": "721074426",
"status": "Approved",
"percentage": 25,
"occupation": "ArchitectOrEngineer",
"annualIncome": "Between50kAnd100k",
"sourceOfIncome": "EmploymentOrPayrollIncome"
}
}
Officer
Officer is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the officer resource. |
| type | string | Always officer. |
| attributes | JSON Object | JSON object representing the officer's data. |
| relationships | JSON:API Relationships | Describes relationships between the officer and other resources (org and customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| status Optional | string | One of Approved, Denied or PendingReview. |
| fullName | FullName | Full name of the officer. |
| title | OfficerTitle | Title of the officer. |
| ssn | string | SSN (or ITIN) of the officer (numbers only). Either an ssn or passport is required. |
| passport | string | Passport number of the officer. Valid only for non-US persons. Either an ssn or passport number is required. |
| nationality | ISO31661-Alpha2 string | Required if a passport is used as the main ID and optional when ssn is used. Two letters representing the officer's nationality. (e.g. "US"). |
| dateOfBirth | RFC3339 Date string | Date only (e.g. "2001-08-15"). |
| address | Address | The officer's address. |
| phone | Phone | The officer's phone number. |
| string | The officer's email address. | |
| occupation Optional | Occupation | Occupation of the officer. |
| annualIncome Optional | AnnualIncome | Annual income of the officer. |
| sourceOfIncome Optional | SourceOfIncome | Source of income of the officer. |
| createdAt Optional | RFC3339 Date-time string | Date and time the officer was created (full timestamp, e.g. "2026-09-09T13:09:03.379Z"). |
Relationships
| Name | Type | Description |
|---|---|---|
| org | JSON:API Relationship | The Org this officer belongs to. |
| customer | JSON:API Relationship | The business Customer this officer belongs to. |
{
"type": "officer",
"id": "12",
"attributes": {
"status": "Approved",
"fullName": {
"first": "Richard",
"last": "Hendricks"
},
"title": "CEO",
"ssn": "721074426",
"dateOfBirth": "1980-09-10",
"address": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"phone": {
"countryCode": "1",
"number": "5555555555"
},
"email": "richard@piedpiper.com",
"occupation": "ExecutiveOrManager",
"annualIncome": "Between100kAnd250k",
"sourceOfIncome": "EmploymentOrPayrollIncome",
"createdAt": "2026-09-09T13:09:03.379Z"
},
"relationships": {
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"customer": {
"data": {
"type": "businessCustomer",
"id": "1"
}
}
}
}
Book Payment
BookPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the book payment resource. |
| type | string | Type of the payment resource. The value is always bookPayment. |
| attributes | JSON Object | JSON object representing the payment resource. |
| relationships | JSON:API Relationships | Describes relationships between the Book payment and the originating deposit account and customer. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| status | string | Either Sent or Rejected (see reason for details). |
| reason Optional | string | More information about the status. |
| direction | string | The direction in which the funds flow (either Debit or Credit). |
| description | string | Payment description (maximum of 80 characters), this will show up on statement of the counterparty. |
| transactionSummaryOverride | string | If this field is populated, its contents will be returned as the bookTransaction's summary field (maximum of 100 characters). |
| amount | string | The amount (cents) of the payment. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account creating the payment. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to a multiple individual customers. |
| counterpartyAccount | JSON:API Relationship | The Counterparty account the payment to be made to. |
| counterpartyCustomer | JSON:API Relationship | The Customer the counterparty account belongs to. The customer is either a business or an individual, might be empty if there is more than one associated customer. |
| transaction | JSON:API Relationship | The Book Transaction generated by this payment. |
| recurringPayment | Optional, JSON:API Relationship | The recurring payment belonging to this payment. |
{
"data": {
"type": "bookPayment",
"id": "1232",
"attributes": {
"createdAt": "2021-02-21T13:03:19.025Z",
"amount": 1500,
"direction": "Credit",
"description": "Funding",
"status": "Sent"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "555"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"counterpartyAccount": {
"data": {
"type": "account",
"id": "99821"
}
},
"counterpartyCustomer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"transaction": {
"data": {
"type": "transaction",
"id": "1413"
}
}
}
}
}
Book Repayment
BookRepayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the Book repayment resource. |
| type | string | Type of the payment resource. For book repayment the value is bookRepayment. |
| attributes | JSON Object | JSON object representing book repayment resource. |
| relationships | JSON:API Relationships | Describes relationships between the book repayment and the originating deposit account, credit account and org. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt | RFC3339 Date string | The date the resource was updated. |
| amount | integer | The amount (cents) of the payment. |
| status | string | Either Sent or Rejected |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account originating the repayment. |
| creditAccount | JSON:API Relationship | The Credit Account the repayment is made for. |
| org | JSON:API Relationship | The org the customer belongs to. |
| customer | Optional, JSON:API Relationship | The Customer the credit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| counterpartyAccount | JSON:API Relationship | The Deposit Account the repayment to be made from. |
| payment | JSON:API Relationship | The payment created between the account and counterpartyAccount |
| recurringRepayment | JSON:API Relationship | Only present when re repayment was created through a Recurring Repayment. |
{
"data": {
"type": "bookRepayment",
"id": "5",
"attributes": {
"createdAt": "2022-09-19T09:33:16.254Z",
"updatedAt": "2022-09-19T09:33:16.254Z",
"amount": 20,
"status": "Sent"
},
"relationships": {
"counterparty": {
"data": {
"type": "account",
"id": "10008"
}
},
"account": {
"data": {
"type": "account",
"id": "10006"
}
},
"creditAccount": {
"data": {
"type": "creditAccount",
"id": "10007"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10002"
}
},
"org": {
"data": {
"type": "org",
"id": "2"
}
},
"payment": {
"data": {
"type": "payment",
"id": "6"
}
}
}
}
}
Book Transaction
BookTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always bookTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account and customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| counterparty | Counterparty | The party on the other end of the transaction. |
| tags | object | See Tags. Inherited from the payment tags (see Tag Inheritance). |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| counterpartyAccount | JSON:API Relationship | The account of the counterparty. |
| counterpartyCustomer | JSON:API Relationship | The counterparty customer. |
| payment | Optional, JSON:API Relationship | The payment belonging to this transaction. |
| recurringPayment | Optional, JSON:API Relationship | The recurring payment belonging to this transaction. |
{
"type": "bookTransaction",
"id": "9547",
"attributes": {
"createdAt": "2020-07-05T15:49:36.864Z",
"direction": "Credit",
"amount": 1000,
"balance": 12000,
"summary": "Counterparty: Jane Smith | Description: Gift",
"counterparty": {
"name": "Jane Smith",
"routingNumber": "812345678",
"accountNumber": "10039",
"accountType": "Checking"
}
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "10035"
}
},
"customer": {
"data": {
"type": "customer",
"id": "5"
}
},
"counterpartyAccount": {
"data": {
"type": "account",
"id": "10036"
}
},
"counterpartyCustomer": {
"data": {
"type": "customer",
"id": "7"
}
},
"payment": {
"data": {
"type": "payment",
"id": "10000"
}
}
}
}
BusinessApplication
BusinessApplication is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the application resource. |
| type | string | Type of the application resource, for business application the value is always businessApplication. |
| attributes | JSON Object | JSON object representing the application data. |
| relationships | JSON:API Relationships | Describes relationships between the application resource and other resources (documents). |
Attributes
| Name | Type | Description |
|---|---|---|
| status | string | One of AwaitingDocuments, PendingReview, Approved, Denied or Pending, see Application Statuses. |
| message | string | A message describing the BusinessApplication status. |
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt Optional | RFC3339 Date string | The date the resource was updated. |
| name | string | Name of the business. |
| dba Optional | string | "Doing business as". |
| address | Address | Address of the business. |
| operatingAddress | Address | Optional. The operating address of the business. Required when the address is of a registered agent or if any beneficial owner or officer is non-US. |
| phone | Phone | Phone of the business. |
| stateOfIncorporation | string | Two letters representing a US state. |
| ein | string | Business EIN (numbers only). |
| entityType | string | One of LLC, Partnership, PubliclyTradedCorporation, PrivatelyHeldCorporation or NotForProfitOrganization. |
| website Optional | string | Business's website. |
| contact | BusinessContact | Primary contact of the business. |
| officer | Officer | Officer representing the business. See OfficerTitle for allowed title values. To successfully onboard a business, provide the officer's personal details. |
| beneficialOwners | Array of BeneficialOwner | Array of beneficial owners in the business. A beneficial owner is anyone who owns at least 25% of the business. To successfully onboard a business, provide each beneficial owner's personal details. If the business has no beneficial owners, the array should be empty. |
| attestedNoBeneficialOwners | boolean | true if no beneficial owners are provided; otherwise - false . |
| annualRevenue Optional | AnnualRevenue | Annual revenue of the business. |
| numberOfEmployees Optional | NumberOfEmployees | Number of employees of the business. |
| cashFlow Optional | CashFlow | Cash flow of the business. |
| yearOfIncorporation | Year string | Year of incorporation of the business. |
| countriesOfOperation Optional | Array of ISO31661-Alpha2 strings | An array of two letter codes representing the countries of operation of the business. |
| stockSymbol Optional | string | The stock symbol (ticker) of the business. |
| businessVertical | BusinessVertical | The business vertical of the business. |
| ip Optional | string | IP address of the end-customer creating the application. Both IPv4 and IPv6 formats are supported. Highly recommended as a fraud prevention measure, if the information is available when submitting the application. |
| archived | boolean | Indicates whether the application has been archived. Archived applications are read-only and no changes can be made to them. An application becomes archived once the corresponding customer is archived. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| documents Optional | Array of JSON:API Relationship | Application's documents. |
| customer Optional | JSON:API Relationship | The created Customer in case of approved application. |
| applicationForm Optional | JSON:API Relationship | The ApplicationForm through which the application has been submitted. |
{
"type": "businessApplication",
"id": "50",
"attributes": {
"createdAt": "2020-01-13T16:01:19.346Z",
"name": "Pied Piper",
"dba": null,
"address": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"phone": {
"countryCode": "1",
"number": "1555555578"
},
"stateOfIncorporation": "DE",
"ein": "123456789",
"entityType": "Corporation",
"contact": {
"fullName": {
"first": "Richard",
"last": "Hendricks"
},
"email": "richard@piedpiper.com",
"phone": {
"countryCode": "1",
"number": "1555555578"
}
},
"officer": {
"fullName": {
"first": "Richard",
"last": "Hendricks"
},
"ssn": "123456789",
"address": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"dateOfBirth": "2001-08-10",
"email": "richard@piedpiper.com",
"phone": {
"countryCode": "1",
"number": "1555555589"
},
"occupation": "ArchitectOrEngineer",
"annualIncome": "Between10kAnd25k",
"sourceOfIncome": "EmploymentOrPayrollIncome",
"status": "Approved"
},
"beneficialOwners": [
{
"fullName": {
"first": "Richard",
"last": "Hendricks"
},
"ssn": "123456789",
"address": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"dateOfBirth": "2001-08-10",
"phone": {
"countryCode": "1",
"number": "1555555589"
},
"email": "richard@piedpiper.com",
"occupation": "ArchitectOrEngineer",
"annualIncome": "Between10kAnd25k",
"sourceOfIncome": "EmploymentOrPayrollIncome",
"status": "Approved"
}
],
"tags": {
"userId": "106a75e9-de77-4e25-9561-faffe59d7814"
},
"archived": false,
"annualRevenue": "Between500kAnd1m",
"numberOfEmployees": "Between50And100",
"cashFlow": "Predictable",
"yearOfIncorporation": "2014",
"countriesOfOperation": [
"US"
],
"stockSymbol": "PPI",
"businessVertical": "TechnologyMediaOrTelecom",
"website": "https://www.piedpiper.com",
"status": "AwaitingDocuments",
"message": "Waiting for you to upload the required documents."
},
"relationships": {
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"documents": {
"data": [
{
"type": "document",
"id": "1"
},
{
"type": "document",
"id": "2"
},
{
"type": "document",
"id": "3"
}
]
},
"applicationForm": {
"data": {
"type": "applicationForm",
"id": "3"
}
}
}
}
BusinessCustomer
BusinessCustomer is a JSON:API resource, describing the business customer. Top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the business resource. |
| type | string | Type of the resource, the value is always businessCustomer. |
| attributes | JSON Object | JSON object representing the business data. |
| relationships | JSON:API Relationships | Describes relationships between the customer resource, the Org it belongs to, and the Application it was created by. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| name | string | Name of the business. |
| dba Optional | string | "Doing business as". |
| address | Address | Address of the business. |
| operatingAddress Optional | Address | The operating address of the business. |
| phone | Phone | Phone of the business. |
| stateOfIncorporation | string | Two letters representing a US state. |
| ein | string | Business EIN (numbers only). |
| entityType | string | One of LLC, Partnership, PubliclyTradedCorporation, PrivatelyHeldCorporation or NotForProfitOrganization. |
| contact | BusinessContact | Primary contact of the business. |
| annualRevenue Optional | AnnualRevenue | Annual revenue of the business. |
| numberOfEmployees Optional | NumberOfEmployees | Number of employees of the business. |
| businessVertical Optional | BusinessVertical | Business vertical of the business. |
| cashFlow Optional | CashFlow | Cash flow of the business. |
| countriesOfOperation Optional | Array of ISO31661-Alpha2 strings | Countries where the business operates. |
| website Optional | string | Business's website. |
| stockSymbol Optional | string | The stock symbol (ticker) of the business. |
| yearOfIncorporation Optional | Year string | Year of incorporation of the business. |
| authorizedUsers | Array of AuthorizedUser | Array of authorized users. An authorized user is someone who can participate in the One Time Password (OTP) authentication process. |
| status | string | Status of the customer, either Active or Archived. You can't do any write operations on an Archived customer. |
| eligibleProducts Optional | Array of Product | The products that the customer is eligible for. |
| archiveReason | string | Optional, only if the customer status is Archived. The reason the customer was archived, can be one of ByBank, Inactive, FraudACHActivity, FraudCardActivity, FraudCheckActivity, FraudApplicationHistory, FraudAccountActivity, FraudClientIdentified, FraudLinkedToFraudulentCustomer. |
| tags | object | See Tags. Inherited from the application tags (see Tag Inheritance). |
Relationships
| Name | Type | Description |
|---|---|---|
| org | JSON:API Relationship | The Org of the business. |
| application | JSON:API Relationship | The Application that created this business. |
| authorizedUserResources | JSON:API Relationship | A list of the related AuthorizedUser. |
| officer | Optional, JSON:API Relationship | The related Officer resource for this business customer. |
| beneficialOwners | Optional, array of JSON:API Relationship | The related BeneficialOwner resources for this business customer. |
{
"type": "businessCustomer",
"id": "1",
"attributes": {
"createdAt": "2020-05-10T12:28:37.698Z",
"name": "Pied Piper",
"address": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"phone": {
"countryCode": "1",
"number": "1555555578"
},
"stateOfIncorporation": "DE",
"ein": "123456789",
"entityType": "Corporation",
"businessVertical": "TechnologyMediaOrTelecom",
"numberOfEmployees": "Between50And100",
"annualRevenue": "Between500kAnd1m",
"cashFlow": "Predictable",
"countriesOfOperation": [
"US",
"CA"
],
"website": "https://piedpiper.com",
"stockSymbol": "PPI",
"yearOfIncorporation": "2014",
"operatingAddress": {
"street": "5250 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"contact": {
"fullName": {
"first": "Richard",
"last": "Hendricks"
},
"email": "richard@piedpiper.com",
"phone": {
"countryCode": "1",
"number": "1555555578"
}
},
"authorizedUsers": [
{
"fullName": {
"first": "Jared",
"last": "Dunn"
},
"email": "jared@piedpiper.com",
"phone": {
"countryCode": "1",
"number": "1555555590"
},
"canConnectWithAuthVendor": true
},
{
"fullName": {
"first": "Nelson",
"last": "Bighetti"
},
"email": "nelson-bighetti@piedpiper.com",
"phone": {
"countryCode": "1",
"number": "1234567891"
},
"canConnectWithAuthVendor": true
}
],
"status": "Active",
"eligibleProducts": [
"Banking",
"BillPay"
],
"tags": {
"userId": "106a75e9-de77-4e25-9561-faffe59d7814"
}
},
"relationships": {
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"application": {
"data": {
"type": "businessApplication",
"id": "1"
}
},
"officer": {
"data": {
"type": "officer",
"id": "12"
}
},
"beneficialOwners": {
"data": [
{
"type": "beneficialOwner",
"id": "45"
}
]
},
"authorizedUserResources": {
"data": [
{
"type": "authorizedUserResource",
"id": "1"
},
{
"type": "authorizedUserResource",
"id": "2"
}
]
}
}
}
BusinessDebitCard
BusinessDebitCard is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the card resource. |
| type | string | Type of the card resource. For business debit card the value is always BusinessDebitCard. |
| attributes | JSON Object | JSON object representing the card data. |
| relationships | JSON:API Relationships | Describes relationships between the card resource and other resources (account and customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt Optional | RFC3339 Date string | The date the resource was updated. |
| last4Digits | string | Last 4 digits of the debit card. |
| expirationDate | string | Card expiration date, formatted YYYY-MM, e.g "2020-05". |
| shippingAddress Optional | Address | Shipping address, if specified. |
| ssn Optional | string | SSN of the card holder (numbers only), if specified during card creation. |
| passport Optional | string | Passport number of the card holder, if specified during card creation. |
| nationality | ISO31661-Alpha2 string | Required if a passport is used as the main ID and optional when ssn is used. Two letters representing the card holder nationality. (e.g. "US"). |
| fullName | FullName | Full name of the card holder. |
| dateOfBirth | RFC3339 Date string | Date of birth of the card holder (e.g. "2001-08-15"). |
| address | Address | Address of the card holder. |
| bin | string | 9-digit Bank Identification Number (BIN). |
| phone | Phone | Phone of the card holder. |
| string | Email address of the card holder. | |
| status | string | Status of the card, one of: Active, Inactive, Stolen, Lost, Frozen, ClosedByCustomer, SuspectedFraud. |
| design Optional | string | Card design, if specified. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | Account the card belong to. |
| customer | JSON:API Relationship | Holder of the account. |
{
"type": "businessDebitCard",
"id": "9",
"attributes": {
"createdAt": "2020-05-13T09:42:21.857Z",
"last4Digits": "2074",
"expirationDate": "2022-05",
"bin": "123456789",
"shippingAddress": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"address": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"fullName": {
"first": "Richard",
"last": "Hendricks"
},
"phone": {
"countryCode": "1",
"number": "1555555578"
},
"email": "richard@piedpiper.com",
"dateOfBirth": "2001-08-10",
"ssn": "123456789",
"status": "Active"
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "1"
}
},
"customer": {
"data": {
"type": "businessCustomer",
"id": "1"
}
}
}
}
BusinessFBOCustomer
BusinessFBOCustomer is a JSON:API resource, describing the business fbo customer. Top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the business resource. |
| type | string | Type of the resource, the value is always businessFBOCustomer. |
| attributes | JSON Object | JSON object representing the business data. |
| relationships | JSON:API Relationships | Describes relationships between the customer resource, the Org it belongs to, and the Application it was created by. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| businessName | string | Name of the business. |
| name | string | The official name |
| businessVertical | BusinessVertical | The business vertical of the business. |
| bankName | string | the name of the bank. |
| numberOfEmployees | NumberOfEmployees | Number of employees of the business. |
| address | Address | Address of the business. |
| tags Optional | object | See Tags. |
| authorizedUsers | Array of AuthorizedUser | Array of authorized users. An authorized user is someone who can participate in the One Time Password (OTP) authentication process. |
Relationships
| Name | Type | Description |
|---|---|---|
| org | JSON:API Relationship | The Org of the business. |
| authorizedUserResources | JSON:API Relationship | A list of the related AuthorizedUser. |
{
"type": "businessFBOCustomer",
"id": "1",
"attributes": {
"createdAt": "2023-07-23T09:13:18.926Z",
"businessName": "Pied Piper",
"name": "Piermont for the benefit of Pied Piper",
"businessVertical": "RepairAndMaintenance",
"bankName": "Piermont",
"numberOfEmployees": "Between10And50",
"address": {
"street": "1463 41st Avenue",
"city": "San Francisco",
"state": "CA",
"postalCode": "94122",
"country": "US"
},
"tags": {},
"authorizedUsers": [
{
"fullName": {
"first": "Erlich",
"last": "Backman"
},
"email": "erlich-backman@piedpiper.com",
"phone": {
"countryCode": "1",
"number": "1234567890"
},
"canConnectWithAuthVendor": true
},
{
"fullName": {
"first": "Nelson",
"last": "Bighetti"
},
"email": "nelson-bighetti@piedpiper.com",
"phone": {
"countryCode": "1",
"number": "1234567891"
},
"canConnectWithAuthVendor": true
}
]
},
"relationships": {
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"authorizedUserResources": {
"data": [
{
"type": "authorizedUserResource",
"id": "1"
},
{
"type": "authorizedUserResource",
"id": "2"
}
]
}
}
}
BusinessVirtualDebitCard
BusinessVirtualDebitCard is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the card resource. |
| type | string | Type of the card resource. For business virtual debit card the value is always businessVirtualDebitCard. |
| attributes | JSON Object | JSON object representing the card data. |
| relationships | JSON:API Relationships | Describes relationships between the card resource and other resources (account and customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt Optional | RFC3339 Date string | The date the resource was updated. |
| last4Digits | string | Last 4 digits of the debit card. |
| expirationDate | string | Card expiration date, formatted YYYY-MM, e.g "2020-05". |
| ssn Optional | string | SSN of the card holder (numbers only), if specified during card creation. |
| passport Optional | string | Passport number of the card holder, if specified during card creation. |
| nationality | ISO31661-Alpha2 string | Required if a passport is used as the main ID and optional when ssn is used. Two letters representing the card holder nationality. (e.g. "US"). |
| fullName | FullName | Full name of the card holder. |
| dateOfBirth | RFC3339 Date string | Date of birth of the card holder (e.g. "2001-08-15"). |
| address | Address | Address of the card holder. |
| bin | string | 9-digit Bank Identification Number (BIN). |
| phone | Phone | Phone of the card holder. |
| string | Email address of the card holder. | |
| status | string | Status of the card, one of: Active, Inactive, Stolen, Lost, Frozen, ClosedByCustomer, SuspectedFraud. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | Account the card belong to. |
| customer | JSON:API Relationship | Holder of the account. |
{
"type": "businessVirtualDebitCard",
"id": "9",
"attributes": {
"createdAt": "2020-05-13T09:42:21.857Z",
"last4Digits": "2074",
"expirationDate": "2022-05",
"bin": "123456789",
"address": {
"street": "5230 Newell Rd",
"street2": null,
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"fullName": {
"first": "Richard",
"last": "Hendricks"
},
"phone": {
"countryCode": "1",
"number": "1555555578"
},
"email": "richard@piedpiper.com",
"dateOfBirth": "2001-08-10",
"ssn": "123456789",
"status": "Active"
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "1"
}
},
"customer": {
"data": {
"type": "businessCustomer",
"id": "1"
}
}
}
}
BusinessWalletCustomer
BusinessWalletCustomer is a JSON:API resource, describing the business wallet customer. Top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the business wallet customer resource. |
| type | string | Type of the resource, the value is always businessWalletCustomer. |
| attributes | JSON Object | JSON object representing the business data. |
| relationships | JSON:API Relationships | Describes relationships between the customer resource and the Org it belongs to. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| bankName | string | The name of the bank partner this customer is about to create a wallet under. |
| businessName | string | The name of the business this customer represents. |
| name | string | The official name. |
| address | Address | Address of the business. |
| ein | string | Business EIN (numbers only). |
| businessVertical | BusinessVertical | The business vertical of the business. |
| numberOfEmployees | NumberOfEmployees | The number of employees working for this business. |
| tags Optional | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| org | JSON:API Relationship | The Org of the business. |
{
"type": "businessWalletCustomer",
"id": "42",
"attributes": {
"createdAt": "2023-07-23T09:13:18.926Z",
"bankName": "myBankName",
"businessName": "Sirius & Snape Inc.",
"name": "Sirius & Snape Inc.",
"address": {
"street": "5230 Newell Rd",
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303",
"country": "US"
},
"ein": "123456789",
"businessVertical": "TechnologyMediaOrTelecom",
"numberOfEmployees": "Between10And50",
"tags": {
"purpose": "Sirius & Snape Inc."
}
},
"relationships": {
"org": {
"data": {
"type": "org",
"id": "1"
}
}
}
}
Capital Partner ACH Repayment
capitalPartnerAchRepayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the Capital Partner repayment resource. |
| type | string | Type of the payment resource. For capital partner ACH repayment the value is capitalPartnerAchRepayment. |
| attributes | JSON Object | JSON object representing the repayment resource. |
| relationships | JSON:API Relationships | Describes relationships between the capital partner ACH repayment and the credit account. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt | RFC3339 Date string | The date the resource was updated. |
| amount | integer | The amount (cents) of the payment. |
| status | string | Either Pending, PendingReview, Returned, Sent or Rejected |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| creditAccount | JSON:API Relationship | The Credit Account the repayment is made for. |
| counterparty | JSON:API Relationship | The Counterparty the repayment to be made from. |
| org | JSON:API Relationship | The org the customer belongs to. |
| customer | Optional, JSON:API Relationship | The Customer the credit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| payment | JSON:API Relationship | The payment created between the capital partner's account and the counterparty |
| recurringRepayment | JSON:API Relationship | Only present when re repayment was created through a Recurring Repayment. |
{
"type": "capitalPartnerAchRepayment",
"id": "1",
"attributes": {
"createdAt": "2022-09-19T09:02:13.343Z",
"updatedAt": "2022-09-19T09:02:13.343Z",
"amount": 200,
"status": "Pending"
},
"relationships": {
"counterparty": {
"data": {
"type": "counterparty",
"id": "1"
}
},
"creditAccount": {
"data": {
"type": "creditAccount",
"id": "10007"
}
},
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"payment": {
"data": {
"type": "payment",
"id": "1"
}
}
}
}
Capital Partner Book Repayment
capitalPartnerBookRepayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the Capital Partner repayment resource. |
| type | string | Type of the payment resource. For capital partner book repayment the value is capitalPartnerBookRepayment. |
| attributes | JSON Object | JSON object representing the repayment resource. |
| relationships | JSON:API Relationships | Describes relationships between the capital partner book repayment and the credit account. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt | RFC3339 Date string | The date the resource was updated. |
| amount | integer | The amount (cents) of the payment. |
| status | string | Either Pending, PendingReview, Returned, Sent or Rejected |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| creditAccount | JSON:API Relationship | The Credit Account the repayment is made for. |
| counterpartyAccount | JSON:API Relationship | The Deposit Account the repayment to be made from. |
| org | JSON:API Relationship | The org the customer belongs to. |
| customer | Optional, JSON:API Relationship | The Customer the credit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| payment | JSON:API Relationship | The payment created between the capital partner's account and the counterparty |
| recurringRepayment | JSON:API Relationship | Only present when re repayment was created through a Recurring Repayment. |
{
"type": "capitalPartnerBookRepayment",
"id": "4",
"attributes": {
"createdAt": "2022-09-19T09:10:09.206Z",
"updatedAt": "2022-09-19T09:10:09.206Z",
"amount": 20,
"status": "Sent"
},
"relationships": {
"counterparty": {
"data": {
"type": "account",
"id": "10008"
}
},
"creditAccount": {
"data": {
"type": "creditAccount",
"id": "10007"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10002"
}
},
"org": {
"data": {
"type": "org",
"id": "1"
}
},
"payment": {
"data": {
"type": "payment",
"id": "5"
}
},
"recurringRepayment": {
"data": {
"type": "recurringRepayment",
"id": "4"
}
}
}
}
Card Fraud Outreach Policy
CardFraudOutreachPolicy is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the card fraud outreach policy resource. |
| type | string | Type of the card fraud outreach policy resource. The value is always cardFraudOutreachPolicy |
| attributes | JSON Object | JSON object representing the card fraud outreach policy data. |
| relationships | JSON:API Relationships | Describes relationships between the card fraud outreach policy resource and other resources. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| activitiesLookBackPeriodHours | integer | The period in hours before the card fraud case was created, for which the card fraud case activities were included in the case. Can be one of the following periods: 12, 24, 48, 72 |
| caseExpirationPeriodHours | integer | The period in hours after the card fraud case was created, after which the card fraud case expires. Can be one of the following periods: 12, 24, 48, 72. |
| numberOfCardActivities | integer | The number of card activities that are included in the card fraud case. Up to 5 activities max. |
| businessRecipient Optional | string | For business cards, controls who receives the fraud outreach email. One of: CardHolder or CustomerAndCardHolder. When omitted or null, email goes to the cardholder only. |
| contactPhone | Phone | The client support contact phone number. |
| contactUrl | string | The client support contact URL. |
| enabled | boolean | Indicates whether the policy is enabled. |
Relationships
| Name | Type | Description |
|---|---|---|
| emailOutreachSettings | JSON:API Relationship | The EmailOutreachSettings that is associated to the card fraud outreach policy, if it was set on. |
| whiteLabelTheme | JSON:API Relationship | The WhiteLabelTheme that is associated to the policy, if it was set on. |
{
"data": {
"type": "cardFraudOutreachPolicy",
"id": "1",
"attributes": {
"createdAt": "2024-07-30T14:29:29.986Z",
"activitiesLookBackPeriodHours": 72,
"caseExpirationPeriodHours": 72,
"numberOfCardActivities": 3,
"businessRecipient": "CardHolder",
"contactPhone": {
"countryCode": "213",
"number": "5350405030"
},
"contactUrl": "https://thisIsMyDomain.unit.co",
"fraudRulesSuppressionDays": 1,
"enabled": true
},
"relationships": {
"emailOutreachSettings": {
"data": {
"type": "emailOutreachSettings",
"id": "10023"
}
},
"messageOutreachSettings": {
"data": {
"type": "messageOutreachSettings",
"id": "10022"
}
},
"whiteLabelTheme": {
"data": {
"type": "whiteLabelTheme",
"id": "54728"
}
}
}
}
}
Card Reversal Transaction
CardReversalTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always cardReversalTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account, customer and relatedTransaction). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| cardLast4Digits | string | The last 4 digits of the debit card involved in the transaction. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| relatedTransaction Optional | JSON:API Relationship | The transaction which the reversal is related to. |
| card | JSON:API Relationship | The debit card used in the purchase. |
{
"type": "cardReversalTransaction",
"id": "401",
"attributes": {
"createdAt": "2020-09-14T12:41:43.360Z",
"direction": "Debit",
"amount": 10,
"balance": 89980,
"summary": "Reversal for transaction #400",
"cardLast4Digits": "2282"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "1001"
}
},
"relatedTransaction": {
"data": {
"type": "transaction",
"id": "400"
}
},
"card": {
"data": {
"type": "card",
"id": "11"
}
}
}
}
Card Transaction
A transaction that represents various card transactions that are not Purchase or ATM transactions. Most commonly, these transactions represent peer-to-peer payments (e.g. Venmo, CashApp) and gig economy employee payouts (ride sharing, deliveries, etc).
CardTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always cardTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account and customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| cardLast4Digits | string | The last 4 digits of the debit card involved in the transaction. |
| merchant.name Optional | string | The name of the merchant. |
| merchant.type Optional | integer | The 4-digit ISO 18245 merchant category code (MCC). |
| merchant.category Optional | string | The merchant category, described by the MCC code (see this reference for the list of category descriptions). |
| merchant.location Optional | string | The location (city, state, etc.) of the merchant. |
| merchant.id Optional | string | The unique network merchant identifier. |
| recurring Optional | boolean | Indicates whether the transaction is recurring. |
| interchange Optional | string | The interchange share for this transaction. Calculated at the end of each day, see the transaction.updated event. |
| grossInterchange Optional | string | The gross interchange share for this transaction. |
| paymentMethod Optional | string | The payment method used, one of: Manual, Swipe, Contactless, ChipAndPin, Stored, Other. |
| digitalWallet Optional | string | The type of digital wallet used, one of: Google, Apple, Other. |
| cardVerificationData.verificationMethod Optional | string | The verification method used, one of: Address, CVV2, AddressAndCVV2. |
| cardNetwork Optional | string | The card network used, one of: Visa, Interlink, Accel, Allpoint, Other. |
| richMerchantData Optional | Rich Merchant Data | Full merchant information. |
| tags | object | See Tags. |
| currencyConversion Optional | Currency Conversion | When original currency for transaction is not USD. |
| cardDecisionSource Optional | string | Who made the final card authorization decision. See Understanding authorization decisions. One of Org, Unit, Network, TimeoutApprove, TimeoutDecline, DefaultApprove, InternalError, IssuerStandIn. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| authorization Optional | JSON:API Relationship | The Authorization request made, if present (see Authorizations). |
| card | JSON:API Relationship | The debit card used in the purchase. |
{
"type": "cardTransaction",
"id": "410",
"attributes": {
"createdAt": "2020-09-20T12:41:43.360Z",
"direction": "Debit",
"amount": 10,
"balance": 89480,
"summary": "Card transaction details",
"cardLast4Digits": "2282",
"merchant": {
"name": "Europcar Mobility Group",
"type": 3381,
"category": "EUROP CAR",
"location": "Cupertino, CA",
"id": "029859000085093"
},
"recurring": false,
"interchange": "2.43",
"grossInterchange": "200.00",
"paymentMethod": "Contactless",
"digitalWallet": "Apple",
"cardVerificationData": {
"verificationMethod": "CVV2"
},
"cardNetwork": "Visa",
"cardDecisionSource": "Org"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "1001"
}
},
"card": {
"data": {
"type": "card",
"id": "11"
}
}
}
}
Card Transaction Authorization Request
CardTransactionAuthorizationRequest is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the card transaction authorization request resource. |
| type | string | Type of the card transaction authorization request resource. The value is always cardTransactionAuthorizationRequest. |
| attributes | JSON Object | JSON object representing the authorization request data. |
| relationships | JSON:API Relationships | Describes relationships between the authorization request resource and other resources (account, customer and card). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the authorization request was created. |
| amount | integer | The amount (cents) of the authorization request. |
| status | string | The status of the authorization request. Either Pending, Approved or Declined. |
| partialApprovalAllowed | boolean | Indicates whether the authorization request supports partial amount approval. |
| approvedAmount Optional | integer | The amount (cents) that was approved. Available only when status is Approved. |
| declineReason Optional | string | The reason the authorization request was declined. One of AccountClosed, CardExceedsAmountLimit, DoNotHonor, InsufficientFunds, InvalidMerchant, ReferToCardIssuer, RestrictedCard, Timeout, TransactionNotPermittedToCardholder. Available only when status is Declined |
| merchant.name | string | The name of the merchant. |
| merchant.type | integer | The 4-digit ISO 18245 merchant category code (MCC). |
| merchant.category | string | The merchant category, described by the MCC code (see this reference for the list of category descriptions). |
| merchant.location Optional | string | The location (city, state, etc.) of the merchant. |
| merchant.id Optional | string | The unique network merchant identifier. |
| recurring | boolean | Indicates whether the authorization is recurring |
| paymentMethod Optional | string | The payment method used, one of: Manual, Swipe, Contactless, ChipAndPin, Stored, Other. |
| digitalWallet Optional | string | The type of digital wallet used, one of: Google, Apple, Other. |
| cardVerificationData. verificationMethod Optional | string | The verification method used, one of: Address, CVV2, AddressAndCVV2. |
| cardNetwork Optional | string | The card network used, one of: Visa, Interlink, Accel, Allpoint, Other. |
| tags | object | Optional, See Tags. If specified when approving the authorization request. |
| currencyConversion Optional | Currency Conversion | When original currency for transaction is not USD. |
| isInternational Optional | boolean | Indicates whether the transaction is international. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| card | JSON:API Relationship | The debit card used in the transaction. |
| fundingAccount | Optional, JSON:API Relationship | An alternate Deposit Account that will be used for funding the transaction. |
{
"type": "cardTransactionAuthorizationRequest",
"id": "1",
"attributes": {
"createdAt": "2021-06-22T13:39:17.018Z",
"amount": 2500,
"status": "Pending",
"partialApprovalAllowed": false,
"merchant": {
"name": "Apple Inc.",
"type": 1000,
"category": "",
"location": "Cupertino, CA",
"id": "311204598883"
},
"recurring": false,
"paymentMethod": "Contactless",
"digitalWallet": "Apple",
"cardVerificationData": {
"verificationMethod": "CVV2"
},
"cardNetwork": "Visa",
"currencyConversion": {
"originalCurrency": "EUR",
"amountInOriginalCurrency": 1000,
"fxRate": "1.164"
},
"isInternational": true
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"card": {
"data": {
"type": "card",
"id": "7"
}
}
}
}
Card Transaction Authorization Request V2
Card Transaction Authorization Request V2 is a JSON:API resource, top-level fields:
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| available | integer | The available balance for spending (in cents). |
| status | string | The status of the request. will be always "Pending" |
| partialApprovalAllowed | boolean | Indicates whether the authorization request supports partial amount approval. |
| merchant.name | string | The name of the merchant. |
| merchant.type | integer | The 4-digit ISO 18245 merchant category code (MCC). |
| merchant.location Optional | string | The location (city, state, etc.) of the merchant. |
| merchant.id Optional | string | The unique network merchant identifier. |
| recurring | boolean | Indicates whether the authorization is recurring |
| direction | string | The direction in which the funds flow (either Debit or Credit). |
| mustBeApproved | boolean | Indicates whether the authorization request must be approved. |
| idempotencyKey | string | See Idempotency |
| tags | object | See Tags. |
| paymentMethod Optional | string | The payment method used, one of: Manual, Swipe, Contactless, ChipAndPin, Stored, Other. |
| currencyConversion Optional | Currency Conversion | When original currency for transaction is not USD. |
| isInternational Optional | boolean | Indicates whether the transaction is international. |
| cardNetwork Optional | string | The network that this card is a part of, e.g. Visa, Interlink, etc. |
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The account of the customer creating the atm transaction. |
| customer | JSON:API Relationship | The customer that created the atm transaction. |
| card | JSON:API Relationship | The debit card used in the transaction. |
| authorizationRequest | JSON:API Relationship | The authorization request. |
{
"data": [
{
"id": "415",
"type": "pendingAuthorizationRequest",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"available": 150000,
"status": "Pending",
"direction": "Debit",
"partialApprovalAllowed": false,
"merchant": {
"name": "Merchant name",
"type": "6012",
"id": "311204598883"
},
"recurring": false,
"mustBeApproved": false,
"tags": {
"tag": "value"
},
"idempotencyKey": "9345cd5e-3110-48bb-8b8c-09b3b714164e",
"currencyConversion": {
"originalCurrency": "EUR",
"amountInOriginalCurrency": 1000,
"fxRate": "1.164"
},
"isInternational": true,
"cardNetwork": "Visa"
},
"relationships": {
"authorizationRequest": {
"data": {
"id": "8",
"type": "CardTransactionAuthorizationRequest"
}
},
"account": {
"data": {
"id": "10001",
"type": "account"
}
},
"customer": {
"data": {
"id": "10000",
"type": "customer"
}
},
"card": {
"data": {
"id": "7",
"type": "card"
}
}
}
}
]
}
Cash Deposit Barcode
Cash Deposit Barcode is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| type | string | Type of the Cash Deposit Barcode resource. The value is always cashDepositBarcode. |
| attributes | JSON Object | JSON object representing the Cash Deposit Barcode data. |
Attributes
| Name | Type | Description |
|---|---|---|
| barcodeNumber | string | Unique identifier of the barcode. This field will be used in Get Barcode Image by Barcode Number endpoint. |
| expiration | ISO 8601 Date and time string | The expiration date and time of the barcode |
| storeId | string | Identifier of the retail store that supports Cash Deposits. This field is obtained from the obtained from either List by coordinates or List by post code endpoints. |
| retailerName | string | Name of the retailer store that supports Cash Deposits. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account designated to receive the payment. |
| customer | JSON:API Relationship | The Customer the deposit account belongs to. |
{
"data": {
"type": "cashDepositBarcode",
"attributes": {
"barcodeNumber": "123456789123456789000000000000",
"expiration": "2023-12-26T13:37:23.927Z",
"storeId": "2481",
"retailerName": "7-Eleven"
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10001"
}
},
"account": {
"data": {
"type": "account",
"id": "10002"
}
}
}
}
}
Cash Deposit Transaction
CashDepositTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always cashDepositTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| tags | object | See Tags. Inherited from the payment tags (see Tag Inheritance). |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
{
"type": "cashDepositTransaction",
"id": "1523",
"attributes": {
"createdAt": "2020-07-05T15:49:36.864Z",
"direction": "Credit",
"amount": 10000,
"balance": 12000,
"summary": "Cash deposit at Walgreens | Via card ending with 1234"
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "1000"
}
},
"customer": {
"data": {
"type": "customer",
"id": "3"
}
}
}
}
Chargeback
This resource is generated as a result of a chargeback creation request.
Chargeback is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the chargeback resource. |
| type | string | Type of the chargeback resource. The value is always chargeback. |
| attributes | JSON Object | JSON object representing the fee data. |
| relationships | JSON:API Relationships | Describes relationships between the chargeback resource and other resources (accounts, transaction, customer). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the chargeback was created. |
| amount | integer | The amount (in cents) of the chargeback. |
| description | string | Description of the chargeback. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account the funds will be debited from. |
| customer | JSON:API Relationship | The Customer the deposit account belongs to. |
| counterpartyAccount | JSON:API Relationship | The account that will receive the funds. |
| transaction | JSON:API Relationship | The Chargeback Transaction generated by this chargeback. |
{
"type": "chargeback",
"id": "2",
"attributes": {
"createdAt": "2022-03-24T17:36:47.638Z",
"amount": 5000,
"description": "Chargeback for dispute #1337",
"tags": {
"internalId": "abc1345"
}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10006"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10007"
}
},
"counterpartyAccount": {
"data": {
"type": "account",
"id": "10005"
}
},
"transaction": {
"data": {
"type": "transaction",
"id": "25"
}
}
}
}
Chargeback Transaction
chargebackTransaction is a type of transaction that is generated when a Chargeback request
is initiated.
ChargebackTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always chargebackTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (accounts, customer, chargeback). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types, this will be the description of the chargeback. |
| counterparty | Counterparty | The party on the other end of the transaction. |
| tags | object | See Tags. Inherited from the payment tags (see Tag Inheritance). |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account of the customer. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| counterpartyAccount | JSON:API Relationship | The account of the counterparty. |
| chargeback | JSON:API Relationship | The chargeback belonging to this transaction. |
{
"type": "chargebackTransaction",
"id": "9547",
"attributes": {
"createdAt": "2020-07-05T15:49:36.864Z",
"direction": "Debit",
"amount": 1000,
"balance": 12000,
"summary": "Chargeback for dispute #1337",
"counterparty": {
"name": "Jane Smith",
"routingNumber": "812345678",
"accountNumber": "10039",
"accountType": "Checking"
},
"tags": {
"internalId": "abc1345"
}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10035"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"customers": {
"data": [
{
"type": "customer",
"id": "10000"
}
]
},
"counterpartyAccount": {
"data": {
"type": "account",
"id": "10036"
}
},
"chargeback": {
"data": {
"type": "chargeback",
"id": "10530"
}
}
}
}
Check Deposit
CheckDeposit is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the check deposit resource. |
| type | string | Type of the check deposit resource. The value is always checkDeposit. |
| attributes | JSON Object | JSON object representing the check deposit resource. |
| relationships | JSON:API Relationships | Describes relationships between the check deposit resource and other resources |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| status | string | One of AwaitingImages, AwaitingFrontImage, AwaitingBackImage, Pending, PendingReview, Rejected, Clearing, Sent, Canceled, Returned. |
| reason Optional | string | More information about the status. |
| description | string | Check Deposit description (maximum of 50 characters). |
| amount | string | The amount (cents) of the check deposit. |
| checkNumber Optional | string | The serial number printed at the bottom of the check |
| counterparty Optional | Check Counterparty | The party the check belongs to. |
| clearingDaysOverride Optional | integer | The amount of days it will take a check deposit to clear if a clearingDaysOverride was provided. See Dynamic Clearing Period |
| settlementDate | RFC3339 Date string | Optional, For Pending or Clearing, shows the date on which the check will be settled. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account receiving the check deposit. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| transaction | JSON:API Relationship | The Check Deposit Transaction generated by this check deposit. |
{
"data": {
"type": "checkDeposit",
"id": "11221",
"attributes": {
"createdAt": "2021-05-27T09:29:30.828Z",
"amount": 20000,
"description": "Check deposit",
"clearingDaysOverride": 5,
"status": "AwaitingImages"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
}
}
}
}
Check Deposit Transaction
CheckDepositTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always checkDepositTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account, customer, checkDeposit). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account participating in the transaction. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| checkDeposit | JSON:API Relationship | The Check Deposit the transaction is related to. |
{
"data": {
"type": "checkDepositTransaction",
"id": "264",
"attributes": {
"createdAt": "2021-06-06T07:21:51.467Z",
"amount": 200,
"direction": "Credit",
"balance": 371600,
"summary": "Check deposit"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"checkDeposit": {
"data": {
"type": "checkDeposit",
"id": "122"
}
}
}
}
}
Check Payment
CheckPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the check payment resource. |
| type | string | Type of the check payment resource. The value is always checkPayment. |
| attributes | JSON Object | JSON object representing the check payment resource. |
| relationships | JSON:API Relationships | Describes relationships between the check payment resource and other resources |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt | RFC3339 Date string | The date the resource was updated. |
| status | string | One of New, Pending, PendingCancellation, Canceled,InDelivery, Delivered, ReturnedToSender, Processed, PendingReview, MarkedForReturn, Returned, Rejected. |
| amount | integer | The amount (cents) of the check deposit. |
| description | string | Description of the Check Payment. |
| checkNumber Optional | string | The serial number printed at the bottom of the check |
| originated | boolean | True for checks originated through Unit |
| onUs Optional | string | |
| onUsAuxiliary Optional | string | |
| counterpartyRoutingNumber Optional | string | The routing number of the party that deposited the Check. |
| returnStatusReason Optional | string | The reason the Check Payment has been marked for return or returned. See Check Payment return reasons. |
| rejectReason Optional | string | |
| pendingReviewReasons Optional | Array of strings | List of reasons as to why the Check Payment is in pending review status, more reasons may be added in the future, current possible reasons: SoftLimit. |
| returnCutoffTime Optional | RFC3339 Date string | The last time when a return will be accepted using the return Check Payment endpoint. |
| additionalVerificationStatus | string | Optional. One of 'Required', 'NotRequired' or 'Approved', when Requires an additional verification will be required, see Approve Additional Verification. |
| tags | object | See Tags. |
| deliveryStatus Optional | string | One of Mailed, InLocalArea, Delivered, Rerouted, ReturnedToSender. Available once check status is InDelivery |
| trackedAt Optional | RFC3339 Date string | The date of the last delivery status update. |
| postalCode Optional | String | The location of the last delivery status update. |
| expirationDate Optional | String | check expiration date, formatted YYYY-MM--DD, e.g "2020-05-01". |
| expectedDelivery | String | check expected delivery date, formatted YYYY-MM--DD, e.g "2020-05-01". |
| sendAt Optional | RFC3339 Date string | The date and time in which the check is to be sent. |
| counterparty | Optional. Check payment counterparty | The receiving party of the check. |
| memo Optional | String | Text included on the memo line of the check. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account receiving the check payment and will be debited for it. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| transaction | JSON:API Relationship | The Check Payment Transaction generated by this check deposit. |
{
"data": {
"type": "checkPayment",
"id": "3",
"attributes": {
"createdAt": "2023-02-21T11:31:03.704Z",
"updatedAt": "2023-02-21T11:31:03.704Z",
"amount": 10000,
"sendAt": "2023-09-10T12:50:00.704Z",
"description": "Check Payment | 0322",
"status": "Processed",
"deliveryStatus": "Delivered",
"trackedAt": "2023-02-23T11:31:03.704Z",
"postalCode": "94303",
"checkNumber": "0322",
"onUsAuxiliary": "0322",
"onUs": "864800000002/",
"counterparty": {
"name": "John Doe",
"address": {
"street": "5230 Newell Rd",
"city": "Palo Alto",
"state": "CA",
"postalCode": "94303"
}
},
"counterpartyRoutingNumber": "051402372",
"returnCutoffTime": "2023-03-23T15:50:00.000Z",
"additionalVerificationStatus": "Required"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "75002"
}
},
"customer": {
"data": {
"type": "customer",
"id": "100425"
}
},
"customers": {
"data": [
{
"type": "customer",
"id": "10001"
}
]
},
"transaction": {
"data": {
"type": "transaction",
"id": "123423"
}
}
}
}
}
Check Payment Transaction
CheckPaymentTransaction is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the transaction resource. |
| type | string | Type of the transaction resource. The value is always checkPaymentTransaction. |
| attributes | JSON Object | JSON object representing the transaction data. |
| relationships | JSON:API Relationships | Describes relationships between the transaction resource and other resources (account, customer, checkPayment). |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the transaction was created. Common to all transaction types. |
| direction | string | The direction in which the funds flow. Common to all transaction types. |
| amount | integer | The amount (cents) of the transaction. Common to all transaction types. |
| balance | integer | The account balance (cents) after the transaction. Common to all transaction types. |
| summary | string | Summary of the transaction. Common to all transaction types. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account participating in the transaction. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| checkPayment | JSON:API Relationship | The Check Payment the transaction is related to. |
{
"type": "checkPaymentTransaction",
"id": "7",
"attributes": {
"createdAt": "2023-02-21T11:40:55.442Z",
"amount": 299991,
"direction": "Debit",
"balance": -1,
"summary": "Check Payment | 0322"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10002"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10005"
}
},
"customers": {
"data": [
{
"type": "customer",
"id": "10005"
}
]
},
"checkPayment": {
"data": {
"type": "checkPayment",
"id": "5"
}
}
}
}
Check Stop Payment
checkStopPayment is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the check stop payment resource. |
| type | string | Type of the stop payment resource. The value is always checkStopPayment. |
| attributes | JSON Object | JSON object representing the check stop payment resource. |
| relationships | JSON:API Relationships | Describes relationships between the check stop payment resource and other resources |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt | RFC3339 Date string | The date the resource was updated. |
| amount Optional | integer | The amount (cents) of the check payment. |
| status | string | The status of the stop payment, one of Active or Disabled. |
| checkNumber | string | The checkNumber of the check payments that the stop payment operation will be applied to. |
| tags | object | See Tags. |
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Deposit Account receiving the check payment and will be debited for it. |
| customer | Optional, JSON:API Relationship | The Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual. |
| customers | Optional, Array of JSON:API Relationship | The list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers. |
| stoppedPayments | Optional, Array of JSON:API Relationship | The list of CheckPayments that were stopped by this stopPayment. |
{
"type": "checkStopPayment",
"id": "13235",
"attributes": {
"createdAt": "2023-02-05T18:32:34.682Z",
"updatedAt": "2023-02-05T18:32:34.682Z",
"amount": 21323,
"status": "Active",
"tags": {
"test": "test"
},
"checkNumber": "006753"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "123456"
}
},
"customer": {
"data": {
"type": "customer",
"id": "95032"
}
},
"customers": {
"data": [
{
"type": "customer",
"id": "95032"
}
]
}
}
}
Counterparty Balance
Counterparty is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the Counterparty. |
| type | string | Type of the balance. for counterparty balance the value is always counterpartyBalance. |
| attributes | JSON Object | JSON object representing the counterparty balance resource. |
| relationships | JSON:API Relationships | Describes relationships between the counterparty balance and the customer and counterparty. |
Attributes
| Name | Type | Description |
|---|---|---|
| balance | number | The current balance amount (in cents) of the counterparty. |
| available Optional | number | The available balance amount (in cents) of the counterparty. |
Relationships
| Name | Type | Description |
|---|---|---|
| counterparty | JSON:API Relationship | The counterparty the balance belongs to. |
| customer | JSON:API Relationship | The customer the counterparty belongs to. |
{
"data": {
"type": "counterpartyBalance",
"id": "2",
"attributes": {
"balance": 11000,
"available": 10000
},
"relationships": {
"counterparty": {
"data": {
"type": "counterparty",
"id": "2"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
}
}
}
}
Credit Application Decision
Manual Review Credit Application Decision
manualReviewCreditApplicationDecision is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the credit decision resource. |
| type | string | Type of the credit decision resource. The value is always manualReviewCreditApplicationDecision. |
| attributes | JSON Object | JSON object representing the credit decision data. |
| relationships | JSON:API Relationships | Describes relationships between the credit decision resource and other resources. |
Attributes
Relationships
| Name | Type | Description |
|---|---|---|
| application | JSON:API Relationship | The Application for which this credit decision applies to. |
| creditApplication Optional | JSON:API Relationship | The Credit Application for which this credit decision applies to. |
{
"data": {
"type": "manualReviewCreditApplicationDecision",
"id": "1",
"attributes": {
"createdAt": "2023-07-04T15:21:11.688Z",
"externalApplicationId": "A1234",
"evaluationType": "CreditApplication",
"submissionTimestamp": "2023-09-19T09:10:09.206Z",
"decisionTimestamp": "2023-09-19T09:10:09.206Z",
"decision": "ManualReview",
"policyException": true,
"policyExceptionReason": "Executive approval",
"additionalUnderwritingData": {
"someKey1": "someValue1",
"someKey2": "someValue2",
"someKey3": "someValue3"
}
},
"relationships": {
"application": {
"data": {
"type": "application",
"id": "10005"
}
}
}
}
}
Approved Credit Application Decision
approvedCreditApplicationDecision is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the credit decision resource. |
| type | string | Type of the credit decision resource. The value is always approvedCreditApplicationDecision. |
| attributes | JSON Object | JSON object representing the credit decision data. |
| relationships | JSON:API Relationships | Describes relationships between the credit decision resource and other resources. |
Attributes
Relationships
| Name | Type | Description |
|---|---|---|
| application | JSON:API Relationship | The Application for which this credit decision applies to. |
| creditApplication Optional | JSON:API Relationship | The Credit Application for which this credit decision applies to. |
{
"data": {
"type": "approvedCreditApplicationDecision",
"id": "1",
"attributes": {
"createdAt": "2023-07-04T15:21:11.688Z",
"externalApplicationId": "A1234",
"evaluationType": "CreditApplication",
"submissionTimestamp": "2023-09-19T09:10:09.206Z",
"decisionTimestamp": "2023-09-19T09:10:09.206Z",
"decision": "Approved",
"policyException": true,
"policyExceptionReason": "Executive approval",
"additionalUnderwritingData": {
"someKey1": "someValue1",
"someKey2": "someValue2",
"someKey3": "someValue3"
},
"creditLimit": 100000
},
"relationships": {
"application": {
"data": {
"type": "application",
"id": "10000"
}
}
}
}
}
Denied Application Decision
deniedCreditApplicationDecision is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the credit decision resource. |
| type | string | Type of the credit decision resource. The value is always deniedCreditApplicationDecision. |
| attributes | JSON Object | JSON object representing the credit decision data. |
| relationships | JSON:API Relationships | Describes relationships between the credit decision resource and other resources. |
Attributes
Relationships
| Name | Type | Description |
|---|---|---|
| application | JSON:API Relationship | The Application for which this credit decision applies to. |
| creditApplication Optional | JSON:API Relationship | The Credit Application for which this credit decision applies to. |
{
"data": {
"type": "deniedCreditApplicationDecision",
"id": "1",
"attributes": {
"createdAt": "2023-07-04T15:21:11.688Z",
"externalApplicationId": "A1234",
"evaluationType": "CreditApplication",
"submissionTimestamp": "2023-09-19T09:10:09.206Z",
"decisionTimestamp": "2023-09-19T09:10:09.206Z",
"decision": "Denied",
"policyException": true,
"policyExceptionReason": "Executive approval",
"additionalUnderwritingData": {
"someKey1": "someValue1",
"someKey2": "someValue2",
"someKey3": "someValue3"
},
"decisionReason": "this is a decline reason",
"adverseActionReasons": [
"adverse action reason 1",
"adverse action reason 2"
]
},
"relationships": {
"application": {
"data": {
"type": "application",
"id": "10005"
}
}
}
}
}
Credit Limit Decision
Manual Review Credit Limit Decision
manualReviewCreditLimitDecision is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the credit decision resource. |
| type | string | Type of the credit decision resource. The value is always manualReviewCreditLimitDecision. |
| attributes | JSON Object | JSON object representing the credit decision data. |
| relationships | JSON:API Relationships | Describes relationships between the credit decision resource and other resources. |
Attributes
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Credit Account for which this credit decision applies to. |
| creditApplication Optional | JSON:API Relationship | The Credit Application for which this credit decision applies to. |
{
"data": {
"type": "manualReviewCreditLimitDecision",
"id": "1",
"attributes": {
"createdAt": "2023-07-04T15:21:11.688Z",
"externalApplicationId": "A1234",
"evaluationType": "CreditLimit",
"submissionTimestamp": "2023-09-19T09:10:09.206Z",
"decisionTimestamp": "2023-09-19T09:10:09.206Z",
"decision": "ManualReview",
"policyException": true,
"policyExceptionReason": "Executive approval",
"additionalUnderwritingData": {
"someKey1": "someValue1",
"someKey2": "someValue2",
"someKey3": "someValue3"
}
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "10005"
}
}
}
}
}
Approved Credit Limit Decision
approvedCreditLimitDecision is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the credit decision resource. |
| type | string | Type of the credit decision resource. The value is always approvedCreditLimitDecision. |
| attributes | JSON Object | JSON object representing the credit decision data. |
| relationships | JSON:API Relationships | Describes relationships between the credit decision resource and other resources. |
Attributes
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Credit Account for which this credit decision applies to. |
| creditApplication Optional | JSON:API Relationship | The Credit Application for which this credit decision applies to. |
{
"data": {
"type": "approvedCreditLimitDecision",
"id": "1",
"attributes": {
"createdAt": "2023-07-04T15:21:11.688Z",
"externalApplicationId": "A1234",
"evaluationType": "CreditLimit",
"submissionTimestamp": "2023-09-19T09:10:09.206Z",
"decisionTimestamp": "2023-09-19T09:10:09.206Z",
"decision": "approved",
"policyException": true,
"policyExceptionReason": "Executive approval",
"additionalUnderwritingData": {
"someKey1": "someValue1",
"someKey2": "someValue2",
"someKey3": "someValue3"
},
"creditLimit": 1000000
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "10005"
}
}
}
}
}
Denied Credit Limit Decision
deniedCreditLimitDecision is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the credit decision resource. |
| type | string | Type of the credit decision resource. The value is always deniedCreditLimitDecision. |
| attributes | JSON Object | JSON object representing the credit decision data. |
| relationships | JSON:API Relationships | Describes relationships between the credit decision resource and other resources. |
Attributes
Relationships
| Name | Type | Description |
|---|---|---|
| account | JSON:API Relationship | The Credit Account for which this credit decision applies to. |
| creditApplication Optional | JSON:API Relationship | The Credit Application for which this credit decision applies to. |
{
"data": {
"type": "deniedCreditLimitDecision",
"id": "1",
"attributes": {
"createdAt": "2023-07-04T15:21:11.688Z",
"externalApplicationId": "A1234",
"evaluationType": "CreditLimit",
"submissionTimestamp": "2023-09-19T09:10:09.206Z",
"decisionTimestamp": "2023-09-19T09:10:09.206Z",
"decision": "Denied",
"policyException": true,
"policyExceptionReason": "Executive approval",
"additionalUnderwritingData": {
"someKey1": "someValue1",
"someKey2": "someValue2",
"someKey3": "someValue3"
},
"decisionReason": "this is a decline reason",
"adverseActionReasons": [
"adverse action reason 1",
"adverse action reason 2"
]
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"account": {
"data": {
"type": "account",
"id": "10005"
}
}
}
}
}
CreditAccount
CreditAccount is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the credit account resource. |
| type | string | Type of the resource. Currently only creditAccount is supported. |
| attributes | JSON Object | JSON object representing the credit account data. |
| relationships | JSON:API Relationships | Describes relationships between the credit account resource and the customer. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| updatedAt Optional | RFC3339 Date string | The date the resource was updated. |
| name | string | Name of the account holder. |
| creditTerms | string | The selected credit terms. |
| currency | string | Currency of the account. |
| creditLimit | integer | The credit limit (cents). |
| balance | integer | The balance amount (cents). The balance represents the funds that are currently in the account (not taking into account future commitments). The balance equals the sum of settled transactions minus any repayments. |
| hold | integer | The hold amount (cents). The hold represents funds that are not available for spending, due to an outstanding card authorization. |
| reserve | integer | The reserve amount (cents). The amount reserved against the credit limit and not available for spending. |
| available | integer | The available balance for spending (cents). Equals creditLimit - balance - hold - reserve. |
| tags | object | See Tags. |
| status | string | Status of the account, either Open, Frozen, or Closed. |
| freezeReason Optional | string | The reason the account was frozen, either Fraud, ByBank, or free-text description. |
| closeReason Optional | string | The reason the account was closed, either ByCustomer, Overdue or Fraud. |
| closeReasonText Optional | string | An expanded free-text reason for account closure. |
| fraudReason Optional | string | The expanded fraud reason for closing the account when Fraud is specified as the reason. Can be one of: (ACHActivity, CardActivity, CheckActivity, ApplicationHistory, AccountActivity, ClientIdentified, IdentityTheft, LinkedToFraudulentCustomer). |
The currency is currently always set to USD. The balance, hold, reserve and available amounts are represented in cents.
Relationships
| Name | Type | Description |
|---|---|---|
| customer | Optional, populated if account has a single owner. JSON:API Relationship | The customer. |
{
"data": {
"type": "creditAccount",
"id": "42",
"attributes": {
"createdAt": "2000-05-11T10:19:30.409Z",
"name": "Peter Parker",
"status": "Open",
"creditTerms": "credit_terms_1",
"currency": "USD",
"balance": 10000,
"hold": 0,
"reserve": 0,
"available": 10000,
"tags": {
"purpose": "some_purpose"
},
"creditLimit": 200000
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "45555"
}
},
"org": {
"data": {
"type": "org",
"id": "1"
}
}
}
}
}
International Payment Purpose Code
The purpose attribute on an International Payment identifies the reason for the payment.
Corridor-specific restrictions may apply.
| Value | Description |
|---|---|
TransferToOwnAccount | Transfer to own account |
FamilyMaintenance | Family Maintenance |
EducationExpenses | Education-related student expenses |
MedicalTreatment | Medical Treatment |
HotelAccommodation | Hotel Accommodation |
Travel | Travel |
UtilityBills | Utility Bills |
RepaymentOfLoans | Repayment of Loans |
TaxPayment | Tax Payment |
PurchaseOfResidentialProperty | Purchase of Residential Property |
PropertyRental | Payment of Property Rental |
InsurancePremium | Insurance Premium |
ProductIndemnityInsurance | Product indemnity insurance |
InsuranceClaimsPayment | Insurance Claims Payment |
MutualFundInvestment | Mutual Fund Investment |
InvestmentInShares | Investment in Shares |
Donations | Donations |
InformationServiceCharges | Information Service Charges |
AdvertisingAndPublicRelations | Advertising & Public relations-related expenses |
RoyaltyAndPatentFees | Royalty fees, trademark fees, patent fees, and copyright fees |
BrokerAndCustodianFees | Fees for brokers, front end fee, commitment fee, guarantee fee and custodian fee |
AdvisoryAndTechnicalFees | Fees for advisors, technical assistance, and academic knowledge |
RepresentativeOfficeExpenses | Representative office expenses |
ConstructionCosts | Construction costs/expenses |
TransportationFeesForGoods | Transportation fees for goods |
PaymentForExportedGoods | For payment of exported goods |
DeliveryFeesForGoods | Delivery fees for goods |
GeneralGoodsTrades | General Goods Trades - Offline trade |
Denied Credit Application
ExistingCustomerCreditApplication is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the application resource. |
| type | string | Type of the credit application resource. For existingCustomerCreditApplication the value is always existingCustomerCreditApplication. |
| attributes | JSON Object | JSON object representing the credit application data. |
| relationships | JSON:API Relationships | Describes relationships between the credit application resource and other resources. |
Attributes
| Name | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the resource was created. |
| status | string | The status of the credit application. will be always Denied. |
| aggregatorAccessTokens Optional | Array of string | Array of aggregator access tokens which are Plaid (or other account linking platform) integration tokens. See Plaid processor token |
| annualIncome Optional | Integer (Cents) | The annual income of the applicant. |
| numberOfEmployees Optional | NumberOfEmployees | Number of employees of the business. |
| yearsInBusiness Optional | Integer | Number of years the business has been in operation. |
| additionalUnderwritingData Optional | json | Object containing key-value pairs of underwriting data per credit policy. |
Relationships
| Name | Type | Description |
|---|---|---|
| application | JSON:API Relationship | The Application to which this credit application applies to. |
| lendingProgram | JSON:API Relationship | The LendingProgram to which this credit application is related to. |
{
"data": {
"type": "existingCustomerCreditApplication",
"id": "12",
"attributes": {
"createdAt": "2024-02-18T12:33:32.158Z",
"status": "Denied",
"aggregatorAccessTokens": [],
"annualIncome": 1,
"numberOfEmployees": "One",
"yearsInBusiness": 4,
"additionalUnderwritingData": {
"dad": "dada"
}
},
"relationships": {
"customer": {
"data": {
"type": "customer",
"id": "10002"
}
},
"lendingProgram": {
"data": {
"type": "lendingProgram",
"id": "1"
}
}
}
}
}
DepositAccount
DepositAccount is a JSON:API resource, top-level fields:
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the deposit account resource. |
| type | string | Type of the resource, the value is always depositAccount. |
| attributes | JSON Object | JSON object representing the deposit account data. |
| relationships | JSON:API Relationships | Describes relationships between the deposit account resource and the customer. |