Payment Information
To retrieve payment information, you can use either the invoice UUID provided by our system or your own identifier that you supplied when creating the invoice.
Retrieving payment information using the UUID
POST https://api-processing.crypto-chief.com/v1/payments/info
Headers
Name
Value
Content-Type
application/json
Signature
Signed request body
Merchant
Merchant ID
Body
Name
Type
Required
Description
uuid
string
true
Invoice UUID
Response
{
type: string, // Payment type PayIn/PayOut
uuid: string, // Unique identifier in our system
order_id: string, // Your order ID sent during creation
user_id: string, // Unique user identifier
lifetime: number | null, // Validity period of the issued invoice (in seconds)
expires_at: number, // Unix timestamp for expiration date/time
amount: string, // Amount of the created order
currency: string, // Currency code
payment_link: string | null, // Link to the payment terminal
fact_amount: string | null, // Amount of actual execution of the order
accuracy_payment_percent: number// Allowable payment inaccuracy
address: string | null // Wallet address for payment
qr_code: string | null, // Wallet address QR code
from: string | null // The wallet address from which the payment was made
txid: string | null // Transaction hash
coins: string[] | null, // List of allowed coins for payment
except_coins: string[] | null, // List of excluded coins for payment
commission: string | null, // Amount taken as commission
is_test: boolean, // Whether the order is a test order
status: string, // Current order status
additional_data: string | null, // Extra info sent at order creation
convert: {
coin: string | null, // Cryptocurrency code for credited amount
network: string | null, // Blockchain network code
rate: string | null, // Conversion rate
course_source: string | null, // Service from which exchange rates are taken
},
extra: null, // Additional invoice information
created_at: string, // ISO-8601 order creation date/time
}
{
"data": null,
"error": {
"status": 400,
"name": "BadRequestError",
"message": "Bad request, Order already Exist",
"details": {}
}
}Payment details associated with your ID
POST /users
<Description of the endpoint>
Headers
Name
Value
Content-Type
application/json
Signature
Signed request body
Merchant
Merchant ID
Body
Name
Type
Required
Description
order_id
string
true
Customer order ID for the invoice
Response
{
type: string, // Payment type PayIn/PayOut
uuid: string, // Unique identifier in our system
order_id: string, // Your order ID sent during creation
user_id: string, // Unique user identifier
lifetime: number | null, // Validity period of the issued invoice (in seconds)
expires_at: number, // Unix timestamp for expiration date/time
amount: string, // Amount of the created order
currency: string, // Currency code
payment_link: string | null, // Link to the payment terminal
fact_amount: string | null, // Amount of actual execution of the order
accuracy_payment_percent: number// Allowable payment inaccuracy
address: string | null // Wallet address for payment
qr_code: string | null, // Wallet address QR code
from: string | null // The wallet address from which the payment was made
txid: string | null // Transaction hash
coins: string[] | null, // List of allowed coins for payment
except_coins: string[] | null, // List of excluded coins for payment
commission: string | null, // Amount taken as commission
is_test: boolean, // Whether the order is a test order
status: string, // Current order status
additional_data: string | null, // Extra info sent at order creation
convert: {
coin: string | null, // Cryptocurrency code for credited amount
network: string | null, // Blockchain network code
rate: string | null, // Conversion rate
course_source: string | null, // Service from which exchange rates are taken
},
extra: null, // Additional invoice information
created_at: string, // ISO-8601 order creation date/time
}
{
"data": null,
"error": {
"status": 400,
"name": "BadRequestError",
"message": "Bad request, Order not found",
"details": {}
}
}Last updated