Notify Payment
POST/openapi/2022-01/payments_apps/notify_callbacks
Request
Header Parameters
Oauth's Access Token
Shoplazza's store domain
the hmac signature for this request
- application/json
- Body
- Example
Body
Payment App's ID
Payment ID
Order's total price
Payment status from Payment App
Possible values: [paid, failed]
Three-letter ISO 4217 currency code
Payment App's transaction number for reference
Either sale or authorization. If you support payment authorization, then this value is set based on the merchant's configuration. If you don't support separate authorization and capture, then the value is always sale. For sale transactions, you need to capture the funds instantly with this request. For authorization transactions, you must place a hold on the funds and capture them later when Shoplazza sends a capture request.
fail reason describe here while payment fail
payment error code from Payment App
Indicates whether the payment is in test or live mode. Refer to Test mode for more information.
extension object
Customize object from Payment App
ISO-8601 format timestamp, eg: 2021-09-01T18:32:20Z
{
"app_id": "string",
"payment_id": "string",
"amount": 0,
"status": "paid",
"currency": "string",
"transaction_no": "string",
"type": "string",
"message": "string",
"error_code": "string",
"test": true,
"extension": {},
"timestamp": "string"
}
Responses
- 200
- 400
200
- application/json
400
- application/json