Zid Docs
Merchant APIPayment APIAppsThemes
Merchant APIPayment APIAppsThemes
Help Center
Slack
  1. Payment
  • Our custom MCP server
  • Overview
  • Merchant Activation
  • Payment
    • Overview
    • Embedded Payment
    • Gateway Error Codes
    • Direct Payment
      POST
    • Execute Payment Request
      POST
    • Get payment status
      GET
  • ApplePay
    • ApplePay Checkout
    • Register ApplePay Domain
      POST
    • Providing Merchant Validation
      POST
  • Refund
    • Request Refund
      POST
  • Webhooks
    • Overview
    • Link Merchant Event
      POST
    • Payment Paid Event
      POST
    • Refund Event
      POST
  1. Payment

Get payment status

GET
https://api.zid.sa/{ProviderUrl}/payments/{Provider paymentId}
After receiving a callback or a webhook for a payment success ZidPay system will send a payment status / details request to payment provider; to verify the payment status.

Request

Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.paymentprovider.com/payments/b7a1c6f2-9d3e-4e2c-bf1f-05e6a1c8f317' \
--header 'Authorization: Authorization: Basic secret_key'

Responses

🟢200OK
application/json
Body

Example
{
    "id": "pay_abc123xyz789",
    "status": "paid",
    "amount": 24900,
    "currency": "SAR",
    "refunded": 0,
    "errorCode": "ZDP001"
}
🟠400Bad Request
Modified at 2025-08-06 12:13:21
Previous
Execute Payment Request
Next
ApplePay
Built with