API Documentation
Update Your Webhook
1 min
this api changes the current configured webhook for your payment notifications at pay3's end { "name" "update your webhook", "method" "post", "url" "https //your hostname pay3 app/v1/client/webhook url", "description" "get balance for a client id", "tab" "examples", "examples" { "languages" \[ { "id" "r kjeovwrgdjxk9y79kwl", "language" "curl", "code" "curl location 'https //your hostname pay3 app/v1/client/fiat/webhook url' \\\\\n header 'access token access token in jwt' \\\\\n header 'client id your client id' \\\\\n header 'content type application/json' \\\\\n data '{\n \\"webhookurl\\" \\"your webhook endpoint\\"\n}'", "customlabel" "" } ], "selectedlanguageid" "r kjeovwrgdjxk9y79kwl" }, "results" { "languages" \[ { "id" " wpelu7c1gj3rysstvfco", "language" "200", "customlabel" "", "code" "{\n \\"message\\" \\"webhook endpoint updated successfully \\"\n}" }, { "id" "nv086wqvdyra6yxpqpfit", "language" "400", "customlabel" "", "code" "{\n \\"error\\" {\n \\"code\\" \\"400\\",\n \\"message\\" \\"could not verify the client\\"\n }\n}" } ], "selectedlanguageid" "nv086wqvdyra6yxpqpfit" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "name" "access token", "kind" "required", "type" "string", "description" "access token received from access token api you can reuse the access token across multiple api calls till it is expired ", "children" \[] }, { "name" "clientid", "kind" "required", "type" "string", "description" "client id application's identifier", "" "client id application's identifier" } ], "bodydataparameters" \[ { "name" "webhookurl", "kind" "optional", "type" "string", "description" "client's webhook url endpoint to be configured", "" "client's webhook url endpoint to be configured" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }