iMerchant Sandbox: https://sandbox.imerchant.online/

iMerchant Production: https://dashboard.imerchant.online/

Retrieves details for a specific payment.

Request body

bid string(32) required

BID is the account number generated by iMerchant for the merchant. It is a string of 32 bits long to uniquely identify the merchant generated by the system

order_id string

It is a string of number to uniquely distribute the id to a specific order, which the id is created by iMerchant

out_trade_no string required

It is a string of number to uniquely distribute the id to a specific order, which the id is created by

other_currency string(3)

Must be the currency of the given range

sign string(32) required

Digital signature

Response field

result string

Information about errors encountered during the request

example:

'Fail' or 'Success'

error string

A human-readable description of the error for debugging purp

error_code string

The specific code of the error

status string

Information about the transaction status

enum:

enum: 'Payment successful', 'Payment fail', 'Refund successful', 'Received', 'Payment Incomplete'

order_id string

It is a string of number to uniquely distribute the id to a specific order, which the id is created by iMerchant

order_time string

The exact time of the payment’s creation

act_price float

Entry Amount(Available details)

refund_over string

The time of the payment’s refund

out_trade_no string

It is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants

email string

user email address

phone string

user phone number

spbill_create_ip string

user ip address

body string

product name

fee_amount float

transaction fee

drawing_money float

withdraw fee

refund_money float

The total amount of money for this refund

refund_fee float

refund fee

raw_pay_price float

The total amount of money for this order

ray_pay_currency float

order transaction currency

Language
Click Try It! to start a request and see the response here!