ورود | ثبت نام
  • FA
  • EN

API Docs

GET /api/v1/payments/verify-deposit/{deposit-id}

Callback endpoint for payment service providers to verify a deposit transaction.


URL Parameters

NameTypeRequiredDescriptionExample
deposit-idintYesID of the deposit to verify123

Query Parameters

NameTypeRequiredDescriptionExample
AuthoritystringYesAuthority code from PSP"A0000001"
StatusstringYesStatus from PSP"OK"

Request Example

GET /api/v1/payments/verify-deposit/123?Authority=A0000001&Status=OK

Response

200 OK

Deposit was successfully verified.

Example

{
  "message": "Deposit successful",
  "payment": {
    /* payment resource */
  }
}

For a full schema, see Payment Resource.


Error Responses

StatusDescriptionExample/Reference
400Payment failed{ "error": "..." }
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutubeTelegram