Get Payment Status

Use this method to get the payment's status. Useful to poll the payment status for an ongoing payment.

Endpoint

GET https://api.dex3.io/api/v1/getpaymentstatus/

A successful POST request typically returns a 200 OK or error.

We recommend using webhook to process successful payment

Headers

NameValue

Content-Type

application/json

merchant_public

YOUR MERCHANT PUBLIC

Different Statuses

Key

Description

created

A new payment is created

received

Client has paid and is waiting Dex3 processing. Do not credit user yet

completed

Payment is completed and webhook must be sent at this point. Credit your client

failed

Payment failed

expired

Payment expired. Based on the expiration parameter you set.

Example

{
  "state": true,
  "data": "created"
}

Last updated