Overview
Requests a refund notification to be resent.
Parameters
Parameter | Description |
---|---|
refundId | The BitPay refund ID to for the notification to be resent. |
Example
$notificationStatus = $bitpay->sendRefundNotification("TPxL75VtRRuoNexUaNQ8da");
Response body fields
Name | Description | Type |
---|---|---|
status | set to created in order to confirm the refund request and initiate the flow to send it to shopper | string |
Success will return the updated refund request
HTTP Response
{
"status": "success",
}
Get supported wallets
GET /supportedWallets
Facades PUBLIC
Note:
this endpoint uses the “public” facade and does not require a token
HTTP Request
Headers
Fields | Description | Presence |
---|---|---|
X-Accept-Version | Must be set to 2.0.0 for requests to the BitPay API. | Mandatory |
Content-Type | must be set to application/json for requests to the BitPay API. | Mandatory |
To fetch the list of supported wallets and supported currency details
$supportedWallets = $bitpay->getSupportedWallets();
Response body fields
Name | Description | Type |
---|---|---|
key | a unique identifier for the wallet | string |
displayName | human readable display name for the wallet | string |
avatar | filename of a wallet graphic (not fully qualified) | string |
payPro | whether or not the wallet supports ANY BitPay Payment Protocol options | boolean |
currencies | details of what currencies support payments for this wallet | object |
code | identifying code for the currency | string |
p2p | indicates that this is a peer to peer (p2p) payment method (as opposed to payment protocol) | boolean |
dappBrowser | indicates that this payment method operates via a browser plugin interacting with the invoice | boolean |
withdrawalFee | custodial wallet withdrawal fee | string |
walletConnect | whether or not this wallet supports walletConnect | boolean |
payPro | whether or not BitPay Payment Protocol is supported on this particular currency option | boolean |
qr | object containing QR code related information to show for this payment method | object |
type | the type of QR code to use (ex. BIP21, ADDRESS, BIP72b, BIP681, BIP681b, etc) | string |
collapsed | UI hint for BitPay invoice, generally not relevant to customer integrations | boolean |