You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After tying things out with postman, I think one reason might be that I lived and created a disbursement on PH and it has a different format compared to the one being used in Indonesia.
Tried inputting the same data on postman but I got the error that the bank code "PH_GCASH" was not supported since the default secret key in postman which I got from xendit API is located in Indonesia. Change the code to OVO and it works properly. I got the correct response
Now I tried creating my own POST method in postman with my own dev key and it produce a different error, instead of bank_code, it requires a channel_code. Instead of external_id, it requires reference_id, instead of account_holder_name, it only requires account_name and it also required the currency. But in the end, I still get the same error of API_VALIDATION_ERROR with the message of
There was an error with the format submitted to the server.
I think the reason is that PH disbursement has a different format layout compared to the Indonesia one and by default xendit-node only uses the Indonesia format in creating disbursement.
I also can't find the correct format for the PH disbursement in the documentation
Getting an error when creating a new Disbursement
The error that I get is this, only this.
{ status: 400, code: 'API_VALIDATION_ERROR', message: 'There was an error with the format submitted to the server.' }
I also tried using the default data but still getting the same error
I'm no longer sure which format is wrong, I double check the data and all of them are in the correct format
The text was updated successfully, but these errors were encountered: