Authentication

headerKey

unique id, given to you by our service.

Security Scheme TypeAPI Key
Header parameter name:API-Key

headerSignature

Signature building:

my $secret    = 'xxxxxxxx';  # provided by our service
my $path      = '/api/v1/order';
my $content   = '{"partner_order_id":"xxxxx-xxxxx-xxxx1"}';
my $signature = hmac_sha512_base64( sha256($path.$content), $secret );
Security Scheme TypeAPI Key
Header parameter name:API-Signature

headerCallbackSignature

You can verify callback with signature. Signature building:

my $secret    = 'xxxxxxxx';  # provided by our service
my $content   = '{"partner_order_id":"xxxxx-xxxxx-xxxx1"}';
my $signature = hmac_sha512_base64( sha256($content), $secret );
Security Scheme TypeAPI Key
Header parameter name:API-Signature

queryKey

unique id, given to you by our service.

Security Scheme TypeAPI Key
Header parameter name:partner_key

querySignature

Signature building:

my $secret    = 'xxxxxxxx';  # provided by our service
my $path      = '/widget';
my $string    = "dst_address:123;payout_currency:BTC";
# "parameter1:value1;parameter2:value2" - all parameters in the string are in alphabetical order
# parameters "signature" and "key" do not participate in the signature
my $signature = hmac_sha512_base64( sha256($path.$string), $secret );
Security Scheme TypeAPI Key
Header parameter name:signature
Last Updated: