Discussions
Trying to create a source but its always getting 500 error
I keep getting this error when creating a source and doesn't show what is wrong with my request.
"Something went wrong on our end. We have been notified and will be investigating. Trust us, these are rare."
this is the sample of the request I'm using:
I used the public api key from my account and base64 encode it for the authorization header,
then this is the body of my post request
data: "{"type":"gcash","amount":"81500","redirect":{"success":"http://localhost:8010/checkout/success","failed":"http://localhost:8010/checkout/error"},"billing":{"name":"Rey Tejada","phone":"62345236523","email":"[email protected]","address":{"line1":"Hub A Ortigas Avenue","line2":"","state":"","city":"Pasig Metro Manila ","postal_code":"1608 ","country":"PH"}}}"
I'm trying to create a gcash payment for the web app I'm working on