customer.save as Yes.IMPORTANT When you want to save a customer from an initial transaction the customerobject fields become required.
Authorization: Bearer ********************{
"amount": 9.99,
"tax": 1.99,
"SECCode": "PPD",
"routingNumber": "123456789",
"accountName": "Jack Wick's Account",
"accountNumber": "1234567890",
"accountType": "Checking",
"transactionType": "Debit",
"customer": {
"save": "Yes",
"firstName": "Jack",
"lastName": "Wick",
"phone": "818-727-1234",
"address1": "9024 Some Ave",
"address2": "",
"city": "LA",
"state": "CA",
"zipCode": "90069",
"email": "john.wick@example.com"
},
"dba": {
"id": "9"
}
}curl --location --request POST '/api/ach' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 9.99,
"tax": 1.99,
"SECCode": "PPD",
"routingNumber": "123456789",
"accountName": "Jack Wick'\''s Account",
"accountNumber": "1234567890",
"accountType": "Checking",
"transactionType": "Debit",
"customer": {
"save": "Yes",
"firstName": "Jack",
"lastName": "Wick",
"phone": "818-727-1234",
"address1": "9024 Some Ave",
"address2": "",
"city": "LA",
"state": "CA",
"zipCode": "90069",
"email": "john.wick@example.com"
},
"dba": {
"id": "9"
}
}'{
"id": 3642099,
"amount": "9.99",
"tax": "1.99",
"SECCode": "PPD",
"accountName": "John Wick's Account",
"accountNumber": "XXXXX7890",
"accountType": "Checking",
"routingNumber": "123456789",
"checkNumber": null,
"traceNumber": null,
"transactionID": null,
"transactionType": "Debit",
"transactionDate": "2023-05-15 11:36:14",
"transactionStatus": null,
"addendaText": null,
"memo": null,
"file": {
"id": null,
"date": null
},
"dba": {
"id": 9,
"name": "Demo DBA"
},
"customer": {
"id": 145571,
"firstName": "Jack",
"lastName": "Wick",
"phone": "+1 818-727-1234",
"email": "john.wick@example.com",
"address1": "9024 Some Ave",
"address2": null,
"city": "LA",
"state": "CA",
"zipCode": "90069",
"identifier": null,
"sendReceipt": "No"
},
"recurring": {
"id": null,
"init": "No",
"every": null,
"frequency": null,
"beginDate": null,
"endAfter": null,
"status": null
},
"verification": {
"status": "Pending",
"date": null
},
"source": "API",
"return": {
"code": null,
"date": null
},
"note": null,
"updatedOn": "2023-05-15 11:36:14",
"createdOn": "2023-05-15 11:36:14"
}