Request an API TokenAsk AIpost https://test.bitpay.com/tokensFacades: public, merchantBody ParamsidstringrequiredClient identity based on BitAuth identity protocol, also known as SIN (System Identification Number)facadestringDefaults to posCan be merchant, pos, or payout. If passed in the body of the request together with the id parameter, leave the pairingCode parameter out.labelstringOptional. Token label, may include spaces, underscores, and dashes. BitPay invites the merchants to pass their Business Name or website in this field.pairingCodestringOptional.Client Initiated Pairing: If you do not pass a pairing code in the body of the request, you need to send the id and facade parameters. This will allow you to request API tokens with higher privileges (merchant, or payout facades) Server Initiated Pairing: If you pass a pairing code in the body of the request, leave the facade parameter out. The pairing code which can be generated from the BitPay dashboard (with "Require Authentication" enabled) only allows you to request a pos facade token with authentication, meaning it will be necessary to cryptographically sign every request using this token, just like the other facades with higher privileges.HeadersContent-TypestringrequiredDefaults to application/jsonMust be set to application/json for requests to the BitPay APIX-Accept-VersionstringrequiredDefaults to 2.0.0Must be set to 2.0.0 for requests to the BitPay APIResponse 200200Updated 7 months ago