ACH Sale
The ACH Sale API debits the purchase amount from provided bank account
​
post
https://<PayEngine-host>
/api/payment/ach

Sample Request / Response

Request
Response
1
{
2
"merchant_id": "8bb35bfc-1620-4901-bb7e-f926710024a1",
3
"data": {
4
"accountToken": "ba_test_P5pooWZ4jJyvkCYY2L7XYFY2",
5
"transactionAmount": "100.00"
6
}
7
}
Copied!
1
{
2
"ID": "2073fbda-edda-48b8-acdd-25f7abf5809a",
3
"TransactionID": "ccb43d2a-aae0-5467-a613-fa19c9f43e6c",
4
"MerchantID": "b0ad3bfe-c7a1-4def-8775-6c8f2570d2ce",
5
"AchResponse": {
6
"status": "PASS",
7
"responseCode": "A0000",
8
"responseMessage": "Success",
9
"achHostTransactionID": "1525678793",
10
"achHostTransactionStatus": "Accepted",
11
"achHostResponseCode": "0",
12
"achHostMessage": "Transaction processed.",
13
"taskID": "3251456371",
14
"transactionID": "3044438605",
15
"transactionTimestamp": "2022-02-16T19:26:26",
16
"customerReceipt": "PRINTABLE RECEIPT",
17
"merchantReceipt": "PRINTABLE RECEIPT"
18
}
19
}
Copied!
Webhook event: PAYMENT_ACH

Webhook Payload Example

1
{
2
event_uid: '89663b883565cd2751e15a2ca502498f',
3
event: 'PAYMENT_ACH',
4
data: {
5
account_id: 'e90c1de6-4e87-4c9e-bcbc-c535d6e349ec',
6
payment_id: '833e50bc-46b2-4cec-a5f6-3480a5e55f42',
7
merchant_id: 'c404d923-226f-4aae-92da-22c1ef370434',
8
ach_response: {
9
status: 'PASS',
10
taskID: '22206590',
11
responseCode: 'A0000',
12
transactionID: '74036720',
13
customerReceipt: '<Printable Customer Receipt>',
14
merchantReceipt: '<Printable Customer Receipt>',
15
responseMessage: 'Success',
16
transactionTimestamp: '2022-02-04T21:06:28'
17
},
18
transaction_id: 'c73f1645-0370-4ced-8705-be5538dcf5ca'
19
}
20
}
21
​
Copied!