apidocs.capitalwallet.com
Open in
urlscan Pro
34.197.102.191
Public Scan
URL:
https://apidocs.capitalwallet.com/
Submission: On February 21 via automatic, source certstream-suspicious — Scanned from DE
Submission: On February 21 via automatic, source certstream-suspicious — Scanned from DE
Form analysis
0 forms found in the DOMText Content
* Body * Headers (23) * Body * Headers (0) Public Documentation Settings ENVIRONMENT No Environment LAYOUT Double Column LANGUAGE cURL - cURL Capital Wallet Introduction Deposit Withdrawal GET Get Supported Coins CAPITAL WALLET INTRODUCTION Capital Wallet's Crypto Payment Solution enables Businesses to offer instant, inexpensive, global payments to anyone, at any time! It is built to abstract the complexities that come with real-time crypto transfers, making it intuitive for app developers to integrate it for their respective purposes. As a developer, you handle the app, and we handle the transactions. We have created a simple and free step-by-step guide to help get your business all set up to start accepting cryptocurrency payments using the Capital Wallet payment gateway. AUTHENTICATION All API queries must be made over HTTPS, and plain HTTP will be refused. You must include your X-App headers in all requests. API KEYS You can generate App Tokens in the dev space in our Merchant Portal MAKING A REQUEST All requests must contain the following headers: * X-Auth-Token - A Public API Key that you will get from Merchant Dashboard * X-Auth-HMAC- Signature of the request in the hex format and lowercase (see below) * X-Auth-Access-Ts- Number of seconds since Unix Epoch in UTC SIGNING A REQUEST The value of the X-Auth-HMAC is generated by a sha512 HMAC algorithm using a Private Client Secret Key (provided upon API Key generation) on the bytes obtained by concatenating the following information: * A timestamp (value of the X-Auth-Access-Ts header) taken as a string * Request body, taken exactly as it will be sent. If there is no request body, don't include it. Example of the string to be signed to get an accessToken: currency=LTC&commecnt=123TEST123 DEPOSIT POSTGET ADDRESS {{baseUrl}}get/address AUTHORIZATIONOAuth 1.0 Bodyraw (json) json { "currency": "LTC", "comment": "", "order_id": "123TRES98989T1234599" } Example Request Get Address curl curl --location -g --request POST '{{baseUrl}}get/address' \ --data-raw '{"currency": "LTC", "comment" : "", "order_id" : "123TRES98989T1234599"}' Example Response * Body * Headers (23) javascript { "info": "OK", "msg": "Success", "data": { "address": "MJrk2sFyuWLuiBwtAEaAfXaxjXCPsprfQi" }, "errors": [] } Date Thu, 16 Feb 2023 10:19:18 GMT Content-Type application/json; charset=utf-8 Transfer-Encoding chunked Connection keep-alive X-DNS-Prefetch-Control off X-Frame-Options SAMEORIGIN Strict-Transport-Security max-age=15552000; includeSubDomains X-Download-Options noopen X-Content-Type-Options nosniff X-XSS-Protection 1; mode=block Access-Control-Allow-Origin https://dev.finvasia.com:6070 Access-Control-Allow-Headers Origin, Options, X-Requested-With, X-HTTP-Method-Override, Content-Type, Accept, Authorization Access-Control-Allow-Methods GET, POST, OPTIONS Access-Control-Allow-Credentials true Vary X-HTTP-Method-Override ETag W/"61-UfLCoGMA6CuHhAFHKwf3ES3G6Ig" CF-Cache-Status DYNAMIC Report-To {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=8CUjsAwBYV1ilyI6sSp239LTzs%2FfV5eqFB%2FmDn7kqkiD%2F5wt4AweO9cYxacb%2BivykpBLwqmTCY4OzDm15HfmfCXuS2MFOGJ8AHjk0q3Quy0Gs3HjyZgF1tMAgMVWbuSkHWox%2FABmwZmGFSodfL5l0FQ%3D"}],"group":"cf-nel","max_age":604800} NEL {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server cloudflare CF-RAY 79a58b440fde85d1-BOM Content-Encoding br alt-svc h3=":443"; ma=86400, h3-29=":443"; ma=86400 GETGET DEPOSITS {{baseUrl}}get/deposits Example Request Get Deposits curl curl --location -g --request GET '{{baseUrl}}get/deposits' \ --data-raw '' Example Response * Body * Headers (0) No response body This request doesn't return any response body No response headers This request doesn't return any response headers WITHDRAWAL