Ask a Question
Back to All

400 Bad Request api (`POST https://api.paymongo.com/v1/sources` resulted in a `400 Bad Request`),({"errors":[{"code":"invalid_payload_format","detail":"attributes cannot be blank."}]})

on PHP
POST https://api.paymongo.com/v1/sources resulted in a 400 Bad Request
on TypeScript of Javascript
{"errors":[{"code":"invalid_payload_format","detail":"attributes cannot be blank."}]}

why im getting this kind of error?
i'm using the test key by the way because i still haven't activate my account yet
can someone help me or tell me how to overcome or fix this erroršŸ˜­
im using xammp,postman,thunderclient for php
im using angular v-10