Коллбэки

Terminology:

Callback: a POST HTTP request that we do against your project's callback URL each time a payment was confirmed.


As soon as we secure the funds, we will mark the invoice as PAID on our end then perform a POST request against the provided URL.


Callback URL is defined in your project's settings page and its optional but highly recommended to automate the delivery process on your end. You can enable/disable the callbacks in your project's settings page as well.


Your endpoint should return HTTP code 200

If not, we will retry the callback later. All callback attempts (SUCCESS and FAILS) are logged in your accounts corresponding page.

We retry up to 30 times over 3 day before we give up on a given payment confirmation.


All failed attempt will be followed by an E-mail about the incident so you can track down the invoice in the system and do it right for your customer.


Please note that its your responsibility to provide us with a fully working callback URL so you can capture the payload (JSON):

  • vendorInvoiceId: was provided by you when you created the invoice
  • vendorInvoiceData: was provided by you as well
  • amwalInvoiceId: Our unique invoice ID that was paid
  • amwalPaymentSessionId: Our unique payment session ID


All paid invoices are listed in your account's corresponding section.

As mentioned above, All callbacks are logged as well.