Really appriciate your help. We are getting 500 internal server error on production /v1/customers end point. Flow is same which we have tested on dev sandbox except we replaced Bearer authoization with Oauth2.0 access token.
These are our steps
1- Generate Oauth2.0 access token {"access_token":"XXXXXXXXXXXXXXXX"} as per clover instructions.
2- Use Oauth2.0 as autorization Brearer key in PAKMS/apikey end point to get apiAccessKey
3- Use apiAccessKey":"XXXXXXXXXXXXXXXX" from end point PAKMS/apiKey (Step 2) to generate source using Clover credit card iframe.
4- Use source from step 2 and access token for bearer authorization from step 1 for /v1/customers end point to create customer.
END POINT URL: https://scl.clover.com/v1/customers
REQUEST:
{
"ecomind": "ecom",
"lastName": "Smith",
"phone": "7038392100",
"source": "clv_xxxxxxxxxx",
"firstName": "John ",
"email": "john.smith@Gmail.com",
"name": "John Smith"
}
RESPONSE:
{
"message": "500 Internal Server Error",
"error": {
"code": "processing_error",
"message": "Internal Server Error."
}
}