srakastrategy.blogg.se

Bitpay api
Bitpay api













If you do not know your site reference, please contact our Support Team. The site reference relates to your individual account which you received on setup. Your unique order reference that can be stored on the Trust Payments (20) Failure to adhere to this requirement may result in the text being truncated in the transaction. Recommended length 25 characters or less (exact length dependent on acquiring bank). The URL that the customer will be returned to following an error on the BitPay-hosted pages. The currency that the transaction will be processed in (in ISO3A format).įor a list of currency codes supported by BitPay, refer to the list found at the top of this page. This will need to be in ISO2A format.įor a list of country codes supported by BitPay, refer to the list found at the top of this (3) The country for the customer’s billing address. The suffix of the customer’s billing name (e.g. Mr, Miss, Dr).Īt least one of the billing name fields is required.

bitpay api

The prefix of the customer’s billing name (e.g. (Max length may vary depending on your acquiring bank – Contact your bank for further info) The amount of the transaction in base units, with no commas or decimal points, so €10 is submitted as 1000. The example request below is for a BitPay AUTH with a supported domain. When the customer chooses to pay with BitPay, your system will need to perform an AUTH request and, if successful, redirect the customer’s browser to the URL returned in the response. Merchant receives the notification and responds to inform Trust Payments the notification was received successfully.Trust Payments will submit a URL notification to the merchant’s system to confirm funds have settled.At a later time, BitPay will contact Trust Payments with confirmation that funds have been settled.

bitpay api

If there has been a problem with the payment, the browser is redirected to the errorurlredirect, a page hosted by the merchant that displays an error to the customer.If successful, the browser is redirected to the successfulurlredirect, a page hosted by the merchant that displays confirmation of payment.Customer follows instructions on BitPay's hosted pages to authorise the payment.Merchant redirects the customer’s browser to the redirecturl.Merchant receives AUTH response, including redirecturl.Merchant submits AUTH request to initiate the session, including the successfulurlredirect and errorurlredirect.Customer agrees to a payment using BitPay on the merchant’s website.















Bitpay api