Skip to content
Authorization<token>

Use a public key (pk./pk_test.) for payment initialization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment — there is no separate sandbox URL. Never expose your secret key in client-side code.

In: header

Response Body

application/json

application/json

curl -X POST "https://example.com/links"
POST
/links
{
  "code": 201,
  "link": {
    "id": "lnk_01JXXX",
    "url": "https://pay.wajub.com/q/abc",
    "title": "Annual subscription"
  }
}
{
  "code": 422,
  "errors": {}
}