- Gateway API
- Introduction
- Reference
- Sync API
- Async API
- Merchant API
- Introduction
- Reference
- Page
- Pay
- Payout
- Mobile balance
- Card
- Token
- Invoice
- ATM
- Additional
- Card API
- Introduction
- Payment Cards
- Gift Cards
- Partner API
- Rates
- Products
- E-Money
- Freedom ID
- Mobile SDK
- CMS
Info
POST
https://api.freedompay.kg/v5/merchant/invoice/info
Request
Body Params multipart/form-data
customer
string
required
invoice_methods.qr
.Example:
kzobd2vgp17214143761774775392946
Request 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 POST 'https://api.freedompay.kg/v5/merchant/invoice/info' \
--form 'customer="kzobd2vgp17214143761774775392946"'
Responses
🟢200Success
application/xml
Body
amount
number
required
order_id
string
required
status
string
required
ok
: Request was successful.error
: Request failed.invoice_status
string
required
new
: New invoice.process
: Waiting for the payer or payment system.ok
: Invoice paid successfully.failed
: Invoice payment error.invoice_id
integer
required
invoice_status
- ok, failed.card_pan
string
required
invoice_status
- ok, failed.error_code
integer
required
error_description
string
required
description
string
required
currency
string
required
invoice_status
- ok, failed.dt
string <date-time>
required
Example
<?xml version="1.0" encoding="UTF-8"?>
<root>
<amount>0</amount>
<order_id>string</order_id>
<status>string</status>
<invoice_status>string</invoice_status>
<invoice_id>0</invoice_id>
<card_pan>string</card_pan>
<error_code>0</error_code>
<error_description>string</error_description>
<description>string</description>
<currency>string</currency>
<dt>2019-08-24T14:15:22Z</dt>
</root>
Modified at 2025-02-03 10:08:06