Callback endpoint for payment service providers to verify a deposit transaction.
Name | Type | Required | Description | Example |
---|---|---|---|---|
deposit-id | int | Yes | ID of the deposit to verify | 123 |
Name | Type | Required | Description | Example |
---|---|---|---|---|
Authority | string | Yes | Authority code from PSP | "A0000001" |
Status | string | Yes | Status from PSP | "OK" |
GET /api/v1/payments/verify-deposit/123?Authority=A0000001&Status=OK
Deposit was successfully verified.
{
"message": "Deposit successful",
"payment": {
/* payment resource */
}
}
For a full schema, see Payment Resource.
Status | Description | Example/Reference |
---|---|---|
400 | Payment failed | { "error": "..." } |