Checkout Flow. Each API call must be accompanied by an API Token which grants access to the requested capability. Optional Payment Notification (IPN) Fields The BitPay invoice service can be configured to send JSON-encoded POST callbacks to a merchant-provided URL endpoint.
Bill line items have fixed prices, typically denominated in fiat currency.For a refund request fetched via the merchant facade (signed requests)Example of activated subscriptionFor invoices created via the merchant facade (signed requests)Creates an API session to protect against replay attacks and ensure requests are received in the same order they are sent.| | | | | +---- day of week (0 - 6) (Sunday=0 or 7)In order to access an event stream via the bus, you have to request a "bus pass" for the resource to which you'd like to subscribe.
Generate a new pairing code and use it in the next step.
BitPay Java Sample Code: The BitPay Java Sample Code demonstrates how to use tokens to authenticate the API.
You can either generate a token directly from an API client or via the My Account -> API Tokens page. The BitPay.Net Setup utility helps to generate the private key, as well as a environment file formatted in JSON which contains all configuration requirements, that should be stored in the client local file system.
Facades determine collections of capabilities that can be granted, such as the ability to create invoices or grant refunds. In this example, it's assumed that we are working against the bitpay test server and have generated the pairing code "abcdefg". Your matching API Token must be set. To create a new BitPay API key, log in to your BitPay account.
An invoice has a fixed price, typically denominated in fiat currency. Test Mode. That's actually a hash of the pub_key created - not the API token.. To authenticate your client: use the generate_pem function to create a private/public key pair and store the .pem file.
Developers can make calls with HTTP requests to receive JSON formats as a response. You can try out various functions using the Python REPL.
BitPay sends bill emails to buyers identified in active subscriptions according to the specified schedule.For events token fetched via the merchant facade (signed requests)Fetching settlement objects via the merchant facade (signed requests)Settlements are transfers of payment profits from BitPay to bank accounts and cryptocurrency wallets owned by merchants, partners, etc.
The privileges of an API token are determined by the 'facade' associated.