A-pay Documentation
  • Documentation
    • โ‡๏ธAbout A-pay Platform
    • ๐Ÿ’ตSupported currencies
  • API Documentation
    • ๐Ÿš€Start Integration
    • ๐ŸˆGetting data about PS
    • ๐Ÿ“ƒPayment Page Integration
      • Payment Gateway
    • ๐Ÿ–ฅ๏ธAPI Integration
      • ๐Ÿ’ฐDeposit
        • Request to create a deposit
        • Deposit Activation
        • Deposit resend OTP
        • Deposit information
      • ๐Ÿ“คWithdrawal
      • ๐Ÿ”Lost transaction
        • Create lost transaction
        • Lost transaction information
    • ๐Ÿ”™Postback
    • ๐Ÿ“ˆSettlement
    • โ—Errors
  • ๐Ÿ‘จโ€๐Ÿ’ปOpenAPI Docs
Powered by GitBook
On this page
  1. API Documentation
  2. API Integration
  3. Deposit

Deposit resend OTP

PreviousDeposit ActivationNextDeposit information

Last updated 20 days ago

Some payment methods resends the OTP code.

Examples of the responses:

Success
{
  "success": true,
  "order_id": "7fa13dbc3b79e05e",
  "data": {
    "sent": true,
    "phone": "string",
    "wait": 0
  }
}
Error
{
  "success": false,
  "message": "Invalid request",
  "code": 400,
  "order_id": "7fa13dbc3b79e05e"
}
๐Ÿ–ฅ๏ธ
๐Ÿ’ฐ

Deposit resend OTP

post

For payment systems that support resending OTP codes

Authorizations
Query parameters
project_idnumberRequired

Project ID in the A-Pay system

Example: 123
order_idstringRequired

Deposit ID in the A-Pay system

Example: 7fa13dbc3b79e05e
Body
payment_systemstring ยท enumRequired

Name of the payment system in A-Pay

Example: wavepay_lPossible values:
Responses
200
OK
application/json
Responseone of
or
400
Error
application/json
post
POST /Remotes/deposit-resend-otp?project_id=1&order_id=text HTTP/1.1
Host: <domain>
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "payment_system": "wavepay_l"
}
{
  "success": true,
  "order_id": "7fa13dbc3b79e05e",
  "data": {
    "sent": true,
    "phone": "text",
    "wait": 1
  }
}