CBL | DevPortal
  • Welcome to the Central Bank of Libya Developer Portal | DevPortal
  • LYPay
    • LYPay Instant Payment System
    • Regulatory Guidelines & Compliance
    • Accounting & Settlement in LYPay
    • LYPay Instant Payment System – Technical Overview
    • API Documentation
      • About the APIs
      • API reference
        • Webhooks
        • Auth
          • Revoke
        • Api
          • V1
            • Miscs
              • Institutions
              • Transaction status
            • Payments
              • Funds transfers
                • Refund
                • Confirm
              • Debited funds transfers
              • Credited funds transfers
                • By internal merchant reference
              • Details
            • Auth
              • Token
              • Password
                • Reset
      • Specification
    • NUMO QR Code Standards
  • Contact & Support
Powered by GitBook
On this page
  1. LYPay
  2. API Documentation
  3. API reference
  4. Api
  5. V1
  6. Miscs

Transaction status

PreviousInstitutionsNextPayments

Get Transaction Status Values

get

Retrieves a list of possible transaction statuses (for example: acknowledged, completed, declined, processing).

Responses
200
Transaction status list
application/json
default
An error response object
application/json
get
GET /api/v1/miscs/transaction-status HTTP/1.1
Host: 127.0.0.1:8080
Accept: */*
{
  "data": [
    {
      "name": "acknowledged",
      "code": "01",
      "message": ""
    },
    {
      "name": "completed",
      "code": "03",
      "message": ""
    },
    {
      "name": "declined",
      "code": "04",
      "message": ""
    },
    {
      "name": "processing",
      "code": "02",
      "message": ""
    }
  ]
}