Paycose Docs
Testing (dev only)
GET/internal/test/link/otp

Retrieve Test Link OTP

Fetch the last Lodash Link OTP for an email. Requires X-Test-Mode: true. Dev-only.

Request

Example

curl -X GET 'https://api.paycose.com/api/v1/app1/platform/wallet/internal/test/link/otp' \
  -H 'X-Session-Token: {{session_token}}' \
  -H 'X-Country: {{country}}' \
  -H 'X-Test-Mode: true'

Headers

NameValue
X-Session-Token{{session_token}}
X-Country{{country}}
X-Test-Modetrue

Responses

200200 OK

Headers

NameValue
Content-Typeapplication/json

Body

{
  "code": null
}
403403 Forbidden

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
500500 Internal Server Error

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
503503 Service Unavailable

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page