question

noumansarwar avatar image
noumansarwar asked bryanvargas answered

Issue Creating ACH token got 400 - Invalid Json Format

I got an error while creating ACH token although I don't have any eCheck data I entered dummy false data here is given json payload object that I used given below:

{

"ach": {

"bank_account_number": "string",

"bank_routing_number": "string",

"encrypted": true,

"check_type": "personal_check",


"customer_id_type": "driver_license",

"customer_id_state": "string",

"customer_id": "string",


"first_name": "string",

"last_name": "string",

"business_name": "string",

"email": "string",

"phone": "string",

"session_id": "string",

"address_line1": "string",

"address_line2": "string",

"address_city": "string",

"address_state": "string",

"address_zip": "string",

"address_country": "string",

"agreement": {

"locale": "en",

"template_data": "Nothing",

"type": "Self",

"agreement_id": "93859dklsdkf"

}


}

}

Got this response with status code 400

{

"message": "Invalid JSON format"

}


API Token
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
bryanvargas avatar image
bryanvargas answered
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community