---
updatedAt: 2025-08-12T11:15:34.000Z
agentTools:
  projectIndex: https://docs.getorbital.com/llms.txt
---

# Generate Binance Pay HPP Deposit Link

Generates a Hosted Payment Page (HPP) for Binance Pay deposits, enabling customers to make payments through a web interface.

> 📘
>
> You can[ verify your payer's identity](https://docs.getorbital.com/reference/post_crypto-withdrawal-binance-receiver-validate#/)  before creating creating a Binance Pay invoice

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Binance Pay HPP API",
    "version": "1.0.0",
    "description": "API for generating Binance Pay Hosted Payment Pages (HPP)."
  },
  "servers": [
    {
      "url": "https://hpp.getorbital.io",
      "description": "Production Server"
    }
  ],
  "paths": {
    "/invoice/deposit": {
      "post": {
        "summary": "Create Binance Pay HPP Deposit Invoice",
        "description": "Generates a Hosted Payment Page (HPP) for Binance Pay deposits, enabling customers to make payments through a web interface.",
        "tags": [
          "HPP"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/naturalPersonPPDL"
                  },
                  {
                    "$ref": "#/components/schemas/legalPersonPPDL"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful generation of the Hosted Payment Page. Returns HTML to redirect the user to the HPP.",
            "content": {
              "text/html": {
                "example": "<html><body><form id='orbitalSubmit' action='https://hpp.tst.getorbital.io/payment/deposit/method' method='POST'><input type='hidden' name='mergeSignature' value='/invoice/deposit?hppEncodedId=e7819bf6-13ed-4697-8790-cc9845093532' /></form><script>document.forms['orbitalSubmit'].submit();</script></body></html>"
              }
            }
          },
          "400": {
            "description": "Validation error - missing or invalid request parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "description": "List of validation errors found in the request.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field": {
                        "type": "array",
                        "description": "List of parameter field(s) that failed validation.",
                        "items": {
                          "type": "string"
                        },
                        "example": [
                          "externalId"
                        ]
                      },
                      "message": {
                        "type": "string",
                        "description": "Error message explaining why the validation failed for the field(s).",
                        "example": "Required"
                      }
                    }
                  }
                },
                "example": [
                  {
                    "field": [
                      "externalId"
                    ],
                    "message": "Required"
                  }
                ]
              }
            }
          },
          "401": {
            "description": "Unauthorized – Missing or invalid API key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Detailed error message describing the cause of the error.",
                      "example": "Unauthorized"
                    }
                  }
                },
                "example": {
                  "message": "Unauthorized."
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "naturalPersonPPDL": {
        "type": "object",
        "title": "INDIVIDUAL PAYER (PPDL - BINANCE PAY)",
        "description": "Data fields for an **Individual Payer** associated with **PPDL (Gibraltar)**, including data required for Travel Rule compliance for Binance Pay.",
        "required": [
          "externalId",
          "currency",
          "firstName",
          "lastName",
          "identificationType",
          "dateOfBirth",
          "channel"
        ],
        "properties": {
          "channel": {
            "type": "string",
            "description": "Specifies the payment channel to display on the HPP. Set to `binancepay` to display only the **Binance Pay QR code**.",
            "example": "binancepay"
          },
          "externalId": {
            "type": "string",
            "description": "`Unique ID` for the transaction generated by the merchant. Each request requires a **new** externalId; reusing one is not allowed.",
            "example": "ExternalID37478580"
          },
          "returnUrl": {
            "type": "string",
            "description": "The URL to which the payer will be redirected after the deposit is completed or cancelled.",
            "example": "https://merchant.com",
            "format": "uri"
          },
          "notifyUrl": {
            "type": "string",
            "description": "Notification callback URL where the merchant will receive updates on the deposit status.",
            "example": "http://notify.com",
            "format": "uri"
          },
          "currency": {
            "type": "string",
            "description": "The cryptocurrency the **payer** uses to pay the invoice.\n\n**Accepted values**: `USDT` or `USDC`.",
            "example": "USDT",
            "enum": [
              "USDT",
              "USDC"
            ]
          },
          "sourceAmount": {
            "type": "string",
            "description": "The amount of cryptocurrency being sent.",
            "example": "1000"
          },
          "targetCurrency": {
            "type": "string",
            "description": "The fiat currency in which the merchant will be credited.\n\n**Accepted**: `USD`, `GBP`, `EUR`.\n\n* If `targetCurrency` is set, a **crypto-fiat conversion** occurs.\n* If omitted, no conversion occurs, and the deposit is made in the cryptocurrency specified in the `currency` field.",
            "example": "USD"
          },
          "targetAmount": {
            "type": "string",
            "description": "Amount in `targetCurrency` that the merchant will receive after conversion.",
            "example": "950"
          },
          "cashierCurrency": {
            "type": "string",
            "enum": [
              "AED",
              "AUD",
              "BRL",
              "CAD",
              "CHF",
              "CNY",
              "EUR",
              "GBP",
              "HKD",
              "IDR",
              "INR",
              "JPY",
              "KRW",
              "MMK",
              "MYR",
              "PLN",
              "SGD",
              "THB",
              "USD",
              "VND",
              "SOL",
              "ARS",
              "PEN",
              "MXN",
              "CAD",
              "NZD",
              "KES",
              "COP",
              "BDT",
              "GHS",
              "PHP",
              "PYG"
            ],
            "description": "The currency in which the payer's balance is displayed on the merchant platform.",
            "example": "USD"
          },
          "cashierAmount": {
            "type": "string",
            "description": "Amount in `cashierCurrency` that is reflected on the payer's balance in the merchant platform.",
            "example": "1000"
          },
          "locale": {
            "type": "string",
            "description": "The default language for the Hosted Payment Page (HPP) user interface.",
            "example": "en-US",
            "enum": [
              "en-GB",
              "ar-AA",
              "zh-CN",
              "cs-CZ",
              "fr-FR",
              "de-DE",
              "hu-HU",
              "id-ID",
              "it-IT",
              "ja-JP",
              "ko-KR",
              "ms-MY",
              "mn-MN",
              "pl-PL",
              "pt-BR",
              "pt-PT",
              "ru-RU",
              "es-ES",
              "es-LA",
              "es-AR",
              "es-BO",
              "es-CL",
              "es-CO",
              "es-CR",
              "es-DO",
              "es-EC",
              "es-GT",
              "es-HN",
              "es-MX",
              "es-NI",
              "es-PA",
              "es-PE",
              "es-PR",
              "es-PY",
              "es-SV",
              "es-US",
              "es-UY",
              "es-VE",
              "th-TH",
              "tr-TR",
              "vn-VN",
              "vi-VN",
              "bn-BD",
              "bn-IN",
              "zh-HK",
              "zh-TW",
              "tl-PH",
              "el-GR",
              "hi-IN",
              "ur-PK",
              "bg-BG",
              "hr-HR",
              "da-DK",
              "nl-BE",
              "nl-NL",
              "et-EE",
              "km-KH",
              "lo-LA",
              "lv-LV",
              "lt-LT",
              "ro-RO",
              "sl-SL",
              "sv-SE"
            ]
          },
          "logoImage": {
            "type": "string",
            "description": "The merchant's logo image in `PNG` or `SVG` format.",
            "example": "https://hpp.coinflow.co/example.png",
            "format": "uri"
          },
          "productImage": {
            "type": "string",
            "description": "An image in `JPG` format representing the product or service to display on the deposit screen.",
            "example": "https://hpp.coinflow.co/banner.jpg",
            "format": "uri"
          },
          "primaryColor": {
            "type": "string",
            "description": "The primary button color for HPP customization, in `HEX`, `RGB`, or `RGBA` format.",
            "example": "#4097F6"
          },
          "secondaryColor": {
            "type": "string",
            "description": "The secondary button color for HPP customization, in `HEX`, `RGB`, or `RGBA` format.",
            "example": "rgb(255, 0, 0)"
          },
          "binanceId": {
            "type": "string",
            "description": "Payer's Binance ID. Required if the Payment Payer Verification feature flag is enabled.",
            "example": "12656906"
          },
          "firstName": {
            "type": "string",
            "description": "Payer's first name.",
            "example": "John",
            "maxLength": 100
          },
          "lastName": {
            "type": "string",
            "description": "Payer's last name.",
            "example": "Doe",
            "maxLength": 100
          },
          "dateOfBirth": {
            "type": "string",
            "description": "Payer's date of birth (`YYYY-MM-DD`).",
            "example": "1998-10-30"
          },
          "postcode": {
            "type": "string",
            "description": "Postal code of the payer's address.",
            "example": "40122",
            "maxLength": 16
          },
          "townName": {
            "type": "string",
            "description": "Town of the payer's address.",
            "example": "London",
            "maxLength": 35
          },
          "identificationType": {
            "type": "string",
            "enum": [
              "personalDocument",
              "placeOfBirth",
              "fullAddress",
              "customerId"
            ],
            "description": "The **four** types of identification used for payer verification: **personalDocument**, **placeOfBirth**, **fullAddress**, and **customerId**."
          },
          "placeOfBirth": {
            "type": "string",
            "description": "Payer's place of birth.\n\nRequired if `identificationType` is **placeOfBirth**.",
            "example": "London",
            "maxLength": 70
          },
          "countryOfResidence": {
            "type": "string",
            "description": "The country where the payer's resides (`ISO-3166-1 alha-2`).\n\nRequired if `identificationType` is **fullAddress**.",
            "example": "GB"
          },
          "streetName": {
            "type": "string",
            "description": "Street name of the payer's address.\n\nRequired if `identificationType` is **fullAddress**.",
            "example": "Hogwarts",
            "maxLength": 70
          },
          "buildingNumber": {
            "type": "string",
            "description": "Building number of the payer's address.\n\nRequired if `identificationType` is **fullAddress**.",
            "example": "012211",
            "maxLength": 16
          },
          "documentNumber": {
            "type": "string",
            "description": "Identification document number.\n\nRequired if `identificationType` is **personalDocument**.",
            "example": "1234567890",
            "maxLength": 35
          },
          "documentType": {
            "type": "string",
            "enum": [
              "ARNU",
              "CCPT",
              "RAID",
              "DRLC",
              "FIIN",
              "TXID",
              "SOCS",
              "IDCD",
              "LEIX"
            ],
            "description": "Identification document.\n\nRequired if `identificationType` is **personalDocument**.",
            "example": "Passport"
          },
          "documentCountryOfIssue": {
            "type": "string",
            "description": "The country that issued the identification document (ISO-3166-1 alpha-2 code).\n\nRequired if `identificationType` is **personalDocument**.",
            "example": "GB"
          },
          "customerId": {
            "type": "string",
            "description": "The internal ID for the payer.\n\nRequired if `identificationType` is **customerId**.",
            "example": "CUST-12345",
            "maxLength": 50
          },
          "personType": {
            "type": "string",
            "description": "Indicates the type of payer. Can be `naturalPerson` or `legalPerson`. Defaults to `naturalPerson` if omitted.",
            "default": "naturalPerson",
            "example": "naturalPerson"
          },
          "format": {
            "type": "string",
            "description": "Indicates if the response should be in JSON format and respond with only the URL.",
            "example": "json"
          }
        }
      },
      "legalPersonPPDL": {
        "type": "object",
        "title": "CORPORATE PAYER (PPDL - BINANCE PAY)",
        "description": "Data fields for a **Corporate Payer** associated with **PPDL (Gibraltar)**, including data required for Travel Rule compliance for Binance Pay.",
        "required": [
          "externalId",
          "currency",
          "registeredName",
          "streetName",
          "countryOfResidence",
          "buildingNumber",
          "personType",
          "channel"
        ],
        "properties": {
          "channel": {
            "type": "string",
            "description": "Specifies the payment channel to display on the HPP. Set to `binancepay` to display only the **Binance Pay QR code**.",
            "example": "binancepay"
          },
          "externalId": {
            "type": "string",
            "description": "`Unique ID` for the transaction generated by the merchant. Each request requires a **new** externalId; reusing one is not allowed.",
            "example": "ExternalID37478580"
          },
          "returnUrl": {
            "type": "string",
            "description": "The URL to which the payer will be redirected after the deposit is completed or cancelled.",
            "example": "https://merchant.com",
            "format": "uri"
          },
          "notifyUrl": {
            "type": "string",
            "description": "Notification callback URL where the merchant will receive updates on the deposit status.",
            "example": "http://notify.com",
            "format": "uri"
          },
          "currency": {
            "type": "string",
            "description": "The cryptocurrency to be transferred by the payer.\n\n**Accepted**: `USDT` or `USDC`",
            "example": "USDT"
          },
          "sourceAmount": {
            "type": "string",
            "description": "The amount of cryptocurrency being sent.",
            "example": "1000"
          },
          "targetCurrency": {
            "type": "string",
            "description": "The fiat currency in which the merchant will be credited.\n\n**Accepted**: `USD`, `GBP`, `EUR`.\n\n* If `targetCurrency` is set, a **crypto-fiat conversion** occurs.\n* If omitted, no conversion occurs, and the deposit is made in the cryptocurrency specified in the `currency` field.",
            "example": "USD"
          },
          "targetAmount": {
            "type": "string",
            "description": "Amount in `targetCurrency` that the merchant will receive after conversion.",
            "example": "950"
          },
          "cashierCurrency": {
            "type": "string",
            "enum": [
              "AED",
              "AUD",
              "BRL",
              "CAD",
              "CHF",
              "CNY",
              "EUR",
              "GBP",
              "HKD",
              "IDR",
              "INR",
              "JPY",
              "KRW",
              "MMK",
              "MYR",
              "PLN",
              "SGD",
              "THB",
              "USD",
              "VND",
              "SOL",
              "ARS",
              "PEN",
              "MXN",
              "CAD",
              "NZD",
              "KES",
              "COP",
              "BDT",
              "GHS",
              "PHP",
              "PYG"
            ],
            "description": "The currency in which the payer's balance is displayed on the merchant platform.",
            "example": "USD"
          },
          "cashierAmount": {
            "type": "string",
            "description": "Amount in `cashierCurrency` that is reflected on the payer's balance in the merchant platform.",
            "example": "1000"
          },
          "locale": {
            "type": "string",
            "description": "The default language for the Hosted Payment Page (HPP) user interface.",
            "example": "en-US",
            "enum": [
              "en-GB",
              "ar-AA",
              "zh-CN",
              "cs-CZ",
              "fr-FR",
              "de-DE",
              "hu-HU",
              "id-ID",
              "it-IT",
              "ja-JP",
              "ko-KR",
              "ms-MY",
              "mn-MN",
              "pl-PL",
              "pt-BR",
              "pt-PT",
              "ru-RU",
              "es-ES",
              "es-LA",
              "es-AR",
              "es-BO",
              "es-CL",
              "es-CO",
              "es-CR",
              "es-DO",
              "es-EC",
              "es-GT",
              "es-HN",
              "es-MX",
              "es-NI",
              "es-PA",
              "es-PE",
              "es-PR",
              "es-PY",
              "es-SV",
              "es-US",
              "es-UY",
              "es-VE",
              "th-TH",
              "tr-TR",
              "vn-VN",
              "vi-VN",
              "bn-BD",
              "bn-IN",
              "zh-HK",
              "zh-TW",
              "tl-PH",
              "el-GR",
              "hi-IN",
              "ur-PK",
              "bg-BG",
              "hr-HR",
              "da-DK",
              "nl-BE",
              "nl-NL",
              "et-EE",
              "km-KH",
              "lo-LA",
              "lv-LV",
              "lt-LT",
              "ro-RO",
              "sl-SL",
              "sv-SE"
            ]
          },
          "logoImage": {
            "type": "string",
            "description": "The merchant's logo image in `PNG` or `SVG` format.",
            "example": "https://hpp.coinflow.co/example.png",
            "format": "uri"
          },
          "productImage": {
            "type": "string",
            "description": "An image in `JPG` format representing the product or service to display on the deposit screen.",
            "example": "https://hpp.coinflow.co/banner.jpg",
            "format": "uri"
          },
          "primaryColor": {
            "type": "string",
            "description": "The primary button color for HPP customization, in `HEX`, `RGB`, or `RGBA` format.",
            "example": "#4097F6"
          },
          "secondaryColor": {
            "type": "string",
            "description": "The secondary button color for HPP customization, in `HEX`, `RGB`, or `RGBA` format.",
            "example": "rgb(255, 0, 0)"
          },
          "binanceId": {
            "type": "string",
            "description": "Payer's Binance ID. Required if the Payment Payer Verification feature flag is enabled.",
            "example": "12656906"
          },
          "registeredName": {
            "type": "string",
            "description": "The official registered name of the business.",
            "example": "Demo Corporation",
            "maxLength": 100
          },
          "countryOfResidence": {
            "type": "string",
            "description": "The country where the business is registered. Must be `ISO-3166-1 alpha-2 code`.",
            "example": "GB"
          },
          "streetName": {
            "type": "string",
            "description": "Street name of the business address.",
            "example": "Main Street",
            "maxLength": 70
          },
          "buildingNumber": {
            "type": "string",
            "description": "Building number of the business address.",
            "example": "101",
            "maxLength": 16
          },
          "townName": {
            "type": "string",
            "description": "Town of the business address.",
            "example": "London",
            "maxLength": 35
          },
          "postcode": {
            "type": "string",
            "description": "Postal code of the business address.",
            "example": "EC1A 1BB",
            "maxLength": 16
          },
          "personType": {
            "type": "string",
            "description": "Indicates the type of payer. Can be `naturalPerson` or `legalPerson`.",
            "example": "legalPerson"
          },
          "format": {
            "type": "string",
            "description": "Indicates if the response should be in JSON format and respond with only the URL.",
            "example": "json"
          }
        }
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header",
        "description": "API key for authenticating requests."
      }
    }
  }
}
```