auth: <your_token>POST /api/authenticate{
"api_key": "your_api_key",
"api_secret": "your_api_secret"
}GET /api/quote| Param | Required | Description |
|---|---|---|
amount | Yes | EUR amount to buy |
symbol | Yes | Crypto symbol (e.g. USDC, BTC) |
chain | No | Blockchain (default: polygon) |
payment_type | Yes | e.g. card, PSD2, TRANSFER |
tokens).GET /api/available-assets to list supported coins and blockchains.POST /api/registerUser{
"name": "John",
"email": "john@example.com"
}| Field | Description |
|---|---|
id | Customer ID — save this in your database |
kyc_form_url | URL to redirect the customer to complete KYC |
kyc_form_url.Optional: send callback_urlif you want the customer redirected back to your app after KYC.
GET /api/kyc/check?user_id={id}kyc_status is:| Status | Meaning |
|---|---|
valid | KYC approved — proceed to payment |
fail | KYC rejected — do not proceed |
unused, processing) mean KYC is still in progress.Alternative: subscribe to KYC webhooks instead of polling (contact us for setup).
POST /api/createGuidedPayment{
"user_id": 12345,
"coin_symbol": "USDC",
"coin_chain": "polygon",
"fiat_amount": 100,
"payment_type": "card",
"external_id": "your-remesa-reference-001"
}| Field | Required | Description |
|---|---|---|
user_id | Yes | Customer ID from Step 2 |
coin_symbol | Yes | Crypto to buy |
coin_chain | Yes | Blockchain |
fiat_amount | Yes | Amount in EUR |
payment_type | No | Default: card |
external_id | No | Your internal reference (recommended for remittances) |
Note: Guided payment is currently available for EUR only.
| Field | Description |
|---|---|
payment_id | Payment token — save this in your database |
gateway_url | URL to redirect the customer to pay |
gateway_url.GET /api/payment/{payment_id}| Status | Meaning |
|---|---|
started | Payment created, awaiting customer action |
payment_received | Customer paid — crypto dispatch in progress |
coins_sent | Crypto sent to wallet — operation complete |
coins_sent, the response may also include txid (blockchain transaction hash).Alternative: subscribe to webhooks ( PAY_IN,COINS_SENT) to receive notifications instead of polling.
coins_sent, the cryptocurrency is available in the configured wallet.| Your DB field | Source |
|---|---|
cryptopocket_user_id | id from registerUser |
cryptopocket_payment_id | payment_id from createGuidedPayment |
external_id | Your own remittance reference |