Calling CreatePayment in a sandbox environment may result in a 500 error.
What is the cause?
Request
{
"source_id": "[redacted]",
"idempotency_key": "d993f880-6f1e-4a5b-abba-9be8f7c48200",
"amount_money": {
"amount": 2222,
"currency": "JPY"
},
"customer_id": "AEHWZ9D9FCHNNNTCDZ9R162B5R",
"reference_id": "700d02d7-0612-4ce1-9ffd-92d56bfe597b",
"cash_details": {
"buyer_supplied_money": {
"amount": 2222,
"currency": "JPY"
}
}
}
Response
"errors": [
{
"code": "INTERNAL_SERVER_ERROR",
"detail": "An internal error has occurred, and the API was unable to service your request.",
"category": "API_ERROR"
}
],