Checking access…

Skip to main content
Audience: CCG Platform Engineers

How to Make a Bank Account Payment

Platform engineers implementing or debugging the actual ACH request/response cycle β€” the consent object and the resulting payload. For the conceptual model (delayed settlement, the ACCEPTED state), see Bank Account Payment Flow (ACH). For the webhook payload and failure modes, see Bank Account Payment β€” Reference.

API Request​

Sample Request β€” Bank Account Payment
curl -X POST "https://api-stg.uhg.com/api/financial/commerce/nonprodcheckout/v2/payments" \
-H "Authorization: Bearer <token>" \
-H "X-Merchant-Id: b955db5e-aef2-47de-bbb9-c80b9cc16e8f" \
-H "X-Upstream-Env: dev" \
-H "Content-Type: application/json" \
-d '{
"merchantTransactionId": "ach-20260404-001",
"amount": 50000,
"currencyCode": "USD",
"customer": {
"hsid": "b313c1d1-b5b6-4ec7-8b5a-3a9cf7755060"
},
"consent": {
"type": "ONLINE",
"timestamp": "2026-04-04T09:00:00Z",
"ipAddress": "192.168.1.100"
},
"paymentAllocations": [
{
"amount": 50000,
"paymentMethodId": "d5e6f7a8-b9c0-1234-5678-90abcdef5678"
}
]
}'

ACH payments require valid consent. The consent object records proof that the customer authorized the debit.

FieldTypeRequiredDescription
typestringYesConsent type: ONLINE, WRITTEN, VERBAL
timestampstring (ISO 8601)YesWhen consent was given
ipAddressstringRecommendedCustomer's IP address at time of consent
Compliance

ACH consent is a NACHA regulatory requirement. Processing a bank account payment without valid consent is a compliance violation. The consent object must be populated with accurate, verifiable information.

API Response β€” 202 Accepted​

{
"data": {
"id": "880e8400-e29b-41d4-a716-446655440000",
"merchantTransactionId": "ach-20260404-001",
"amount": 50000,
"status": "INITIATED",
"authorizeCard": false,
"partialAuthorization": false
}
}

GET β€” After Acceptance (200 OK)​

{
"data": {
"id": "880e8400-e29b-41d4-a716-446655440000",
"amount": 50000,
"status": "ACCEPTED",
"paymentAllocations": [
{
"id": "dddd1111-2222-3333-4444-555566667777",
"amount": 50000,
"status": "ACCEPTED",
"paymentMethod": {
"type": "BANK_ACCOUNT",
"bankAccount": {
"lastFour": "6789",
"bankName": "Chase"
}
}
}
]
}
}