Check payment status by Payment ID

With this method you can get payment status by request with payment ID. This method can be used to get payment status without using WebhookURL

Request type: GET

Endpoint:

https://app.0xprocessing.com/Api/GetPayment/{id}

Request must contain APIKEY header with your API key. The key can be generated in the menu Merchant\Classic processing\General settings

Parameters:

NameDescriptionType

Id

Payment ID in the 0xProcessing system

Integer

Reply

Response Type: JSON

Parameters:

NameDescriptionType

PaymentID

Transaction ID in the 0xProcessing system

Integer

MerchantID

Merchant Id in 0xProcessing system

String

Amount

Payment amount in cryptocurrency

Double

AmountUSD

Payment amount in USD equivalent

Double

TotalAmount

Full amount received in the cryptocurrency without fee

Double

TotalAmountUSD

Full amount received in USD equivalent without fee

Double

Currency

String

Email

Payer's e-mail

String

Status

Payment status

Possible values are:

Success - payment was processed successfully

Canceled - payment has been cancelled. (The reason can be found out through 0xProcessing support).

Insufficient - payment is underpaid (the payment is considered as Insufficient if the time of the payment window has expired and the payment has not been executed completely, in this case the callback will contain AmountUSD and Amount corresponding to the real amount of received funds)

String

BillingID

Unique payment identifier in the system from which the payment is made

String

Signature

Checksum to verify the authenticity of the request (to ensure that the request came from 0xProcessing)

String

Insufficient

If "Confirm insufficient" is set in the Merchant settings, then after the end of the payment validity period (window), the insufficient payments will be automatically confirmed as successfully made. You will receive a second callback, which will transfer information about the (underpaid) amount actually received. This callback You need to process this callback on the payment generation side and change the originally generated payment in accordance with the actual funds received

Boolean

Test

It indicates whether the payment has been marked as a test payment

Test payments are not intended for real funds turnover and are not displayed in the merchant account

Boolean

Example response JSON:

                        {
                        "PaymentId":10453,
                        "MerchantID":"Asv0232SSd",
                        "Amount":0.00264765,
                        "TotalAmount":0.00264765,
                        "Currency":"BTC",
                        "Email":"[email protected]",
                        "Status":"Success",
                        "BillingID":"13304",
                        "AmountUSD":115.0,
                        "TotalAmountUSD":115.0,
                        "Insufficient":false,
                        "Test":false,
                        "ClientId": "1000"
                        }

Last updated