- Business To Business
- Business To Person
- Person To Business
Endpoint
POST /3p/api/v1/transactionRequest Payload
| Fields | Type | Is Required | Description | |
|---|---|---|---|---|
| payer_uuid | string | Yes | Identifier of entity sending funds. | |
| payee_uuid | string | Identifier of entity receiving funds. Required if processor_mid is null | ||
| processor_mid | string | Required if payee_uuid is null | ||
| amount | int | Yes | Amount in cents only | |
| client_reference_id | string | Client refeorObjectrence or order id | ||
| transaction_fee | int | Vendor fee in cents only | ||
| speed | string | Possible values:standard sameday | ||
| company_name | string:16 | Company name field in the ACH transaction text. Debit: if not specified, defaults to the payee name. Credit: Will always appear as GrailPay | ||
| description | string:10 | Description field in the ACH transaction text. Credit: if not specified, defaults to the payer name. | ||
| addenda | string:80 | Addenda field in the ACH transaction text. Only supported on CCD transactions. Debit: if payer is a person, will not appear. Credit: If payee is a person, will not appear. | ||
| source_bank_account.uuid | string|uuid | Payer bank account uuid | ||
| source_bank_account.aggregator_type | string | Possible values: plaid manual bank_link | ||
| destination_bank_account.uuid | string|uuid | Payee bank account uuid | ||
| destination_bank_account.aggregator_type | string | Possible values: plaid manual bank_link | ||
| payout_delay_days_min | int | |||
| failure_simulation | string | Possible values: BeforePayout AfterPayout |
Response Object
Note: Amounts and fees are expressed in cents.
Errors & Warnings
| Code | Message |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 422 | Unprocessable Content |
Transaction Statuses
| Status | Description |
|---|---|
| CAPTURE_PENDING | ACH payment can be canceled while they remain in the CAPTURE_PENDING status. |
| CAPTURE_ACH_PENDING | The ACH payment is being processed and cannot be canceled at this time. |
| CAPTURE_ACH_FAILED | The ACH payment failed due to an error. |
| CANCELED | The ACH payment has been canceled. |
| PAYOUT_PENDING_ACH | The ACH payment have been processed successfully and is waiting to be initiated for payout to the payee. |
| IN_PAYOUT | The payout (crediting funds to the payee via ACH) has been initiated. |
| PAYOUT_ACH_PENDING | The payout is being processed. |
| PAYOUT_ACH_FAILED | The payout failed due to an error. |
| PAYOUT_COMPLETE | The payout have been processed successfully. |
| FINANCING | The ACH payment is currently being processed through the Financing widget. |
| CLAWBACK_PENDING | A new ACH will be created to return money from the payee to us when an ACH payment fails for any reason and the payout has already been processed. |
| CLAWBACK_ACH_PENDING | New ACH is being been processed. |
| CLAWBACK_COMPLETE | New ACH has been processed successfully. |
| CLAWBACK_ACH_FAILED | New ACH has been failed due to an error. |
Capture Statuses
| Status | Description |
|---|---|
| CAPTURE_PENDING | The ACH payment from the payer can be canceled as long as it remains in the CAPTURE_PENDING status. |
| CAPTURE_ACH_PENDING | The ACH payment from the payer is being processed and cannot be canceled at this time. |
| CAPTURE_ACH_FAILED | The ACH payment from the payer failed due to an error. |
| CAPTURE_COMPLETE | The ACH payment from the payer have been processed successfully. |
Payout Statuses
| Status | Description |
|---|---|
| PAYOUT_ACH_PENDING | The payout is being processed to the payee. |
| PAYOUT_ACH_FAILED | The payout failed due to an error. |
| PAYOUT_COMPLETE | The payout have been processed successfully. |
Clawback Statuses
| Status | Description |
|---|---|
| CLAWBACK_PENDING | A new ACH will be created to return money from the payee to us whenever an ACH payment fails and the payout has already been processed. |
| CLAWBACK_ACH_PENDING | The ACH from the payee to us is being processed. |
| CLAWBACK_ACH_FAILED | The ACH from the payee to us has failed due to an error. |
| CLAWBACK_COMPLETE | The ACH from the payee to us has been processed successfully. |
Reverse Payout Statuses
| Status | Description |
|---|---|
| REVERSE_PAYOUT_PENDING | A new entity has been created to return money from us to the payer when the payout fails for any reason and the ACH payment has already been processed. |
| REVERSE_PAYOUT_ACH_PENDING | The ACH from us to the payer is being processed. |
| REVERSE_PAYOUT_ACH_FAILED | The ACH from us to the payer has failed due to an error. |
| REVERSE_PAYOUT_COMPLETE | The ACH from us to the payer has been processed successfully. |
Failure Simulation
** The failure_simulation field in the payload is only valid in the sandbox environment.BeforePayout
- The TransactionFailed event will be triggered 15 minutes after the creation of the transaction.
- No payout will be processed.
AfterPayout
- The TransactionFailed event will be triggered 30 mins after the creation of the transaction.
- The PayoutCompleted event will be triggered.
- The Clawback events will be triggered.
