Dex3
Merchant DashboardHome
  • 👋Introduction
    • Dex3 API
    • Payment Gateway
    • Payout System
  • 🌟Getting Started
    • Create merchant
  • ⚙️Connect to API
    • Connect API
  • 🚩Merchant Status
    • Get Merchant Status
  • 🪙Payment Gateway
    • Create New Payment
      • Create Signature
    • Get Payment Status
    • Get Payment Data
    • Payment Success Webhook
      • Verify Webhook Signature
  • 🫴Payout System
    • Create New Payout
      • Create Signature
    • Get Payout Status
    • Get Payout Data
    • Payout Success Webhook
      • Verify Webhook Signature
    • Payout Contracts
Powered by GitBook
On this page
  • Endpoint
  • Headers
  • Different Statuses
  • Example

Was this helpful?

  1. Payment Gateway

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

Name
Value

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"
}
PreviousCreate SignatureNextGet Payment Data

Last updated 1 year ago

Was this helpful?

🪙