Creating White-Label Payment
Last updated
Last updated
This endpoint allows you to create white-labeled payments, providing a seamless payment experience while utilizing the OxaPay payment gateway behind the scenes. Rather than generating an Invoice, this method provides detailed payment information, including the payment address, currency, amount, expiration time, and more.
To enhance flexibility and user convenience, you can utilize URI formats, such as the Bitcoin Improvement Proposal (BIP-0021). This format allows you to generate a payment link with the crypto address embedded within it. By using the generated URI link, the payer can initiate the payment directly from their preferred wallet application.
Furthermore, you have the option to generate QR codes that contain the URI link. QR codes are easily scannable by wallet applications, allowing the payer to effortlessly open their wallet app and proceed with the payment by simply scanning the QR code. The simplest way to create a QR code is to use Google Chart Service.
Using URI formats and QR codes simplifies the payment process for the payer, as they can quickly open their wallet application with the specified address and amount pre-filled. This user-friendly approach enhances the convenience and efficiency of the payment experience.
POST
https://api.oxapay.com/merchants/request/whitelabel
Name | Type | Description |
---|---|---|
Please note that a successful request will return a result code 100. In case of any issues or validation problems, refer to the corresponding result codes for further details.
merchant*
string
Your merchant API key for authentication and authorization.
string
Provide the payer's email address for reporting purposes.
orderId
string
Specify a unique order ID for reference in your system.
description
string
Provide order details or any additional information that will be shown in different reports.
callbackUrl
string
The URL where payment information will be sent. Use this to receive notifications about the payment status.
underPaidCover
decimal
Specify the acceptable inaccuracy in payment. Determines the maximum acceptable difference between the requested and paid amount (0-60.00).
Default: Merchant setting.
feePaidByPayer
decimal
Specify whether the payer will cover the invoice commission. 1
indicates that the payer will pay the fee, while 0
indicates that the merchant will pay the fee. Default: Merchant setting.
lifeTime
integer
Set the expiration time for the payment link in minutes (15-2880).
Default: 60.
network
string
The blockchain network on which the payment should be created. If not specified, the default network will be used.
payCurrency*
string
Specify the currency symbol if you want the invoice to be paid in a specific currency. Defines the currency in which you wish to receive your settlements.
currency
string
Specify the currency symbol if you want the invoice amount calculated with a specific currency. You can also create invoices in fiat currencies.
amount*
long
The amount for the payment. If the currency
field is not filled, the amount should be specified in dollars. If the currency
field is filled, the amount should correspond to the specified currency.