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"
}