API Documentation
Payment Methods
1 min
payment methods api returns a list of supported payment methods and their names given clientid and type the type parameter can take in string values like checkout or payout the response is a list of payment methods which has paymentmethodkey is a string which specifies payment type that can be passed in create payout order docid\ cz cutnjfgefe eokawio and transactions docid\ wr9g8 0vvao95lsm3g1ye paymentmethod is the name of the payment method key currencyid is the currency for which the payment method is supported eg brl bz is brazilian real { "name" "get payment methods", "method" "get", "url" "https //your hostname pay3 app/v2/client/payment methods?clientid=your client id\&type=type", "description" "get order details by client's request id", "tab" "examples", "examples" { "languages" \[ { "id" "brkptjioixmbyshzxcnzi", "language" "curl", "code" "curl location 'https //your hostname pay3 app/v2/client/payment methods?clientid=your client id\&type=type' \\\\\n header 'accept application/json' \\\\\n header 'content type application/json'", "customlabel" "" } ], "selectedlanguageid" "brkptjioixmbyshzxcnzi" }, "results" { "languages" \[ { "id" "gc lbeev7jo hgfni1chk", "language" "200", "customlabel" "", "code" "{\n \\"paymentmethods\\" \[\n {\n \\"paymentmethodkey\\" \\"boleto\\",\n \\"paymentmethod\\" \\"boleto\\",\n \\"currencyid\\" \\"brl bz\\"\n },\n {\n \\"paymentmethodkey\\" \\"pix\\",\n \\"paymentmethod\\" \\"pix\\",\n \\"currencyid\\" \\"brl bz\\"\n },\n {\n \\"paymentmethodkey\\" \\"credit card\\",\n \\"paymentmethod\\" \\"credit card\\",\n \\"currencyid\\" \\"brl bz\\"\n }\n ]\n}" }, { "id" "ybev9li4twgz n2zw 919", "language" "401", "customlabel" "", "code" "{\\"error\\" \\"client verification failed\\"}" } ], "selectedlanguageid" "gc lbeev7jo hgfni1chk" }, "request" { "pathparameters" \[], "queryparameters" \[ { "name" "clientid", "kind" "required", "type" "string", "description" "client id", "children" \[] }, { "name" "type", "kind" "required", "type" "string", "description" "can take values either checkout or payout", "children" \[] } ], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "query parameter", "value" "queryparameters" } }