Fragments all-in-one
Deposits with Fragments all-in-one
1
Create a deposit request
curl -L \
--request POST \
--url 'https://api-stg.onekeypayments.com/v3/deposits' \
--header 'Content-Type: application/json' \
--header 'X-Date: 2025-07-17T13:13:15.442Z' \
--header 'X-Login: text' \
--header 'Authorization: text' \
--data '{
"invoice_id" : "1000000001",
"amount": "1000",
"country": "MX",
"currency": "MXN",
"payer": {
"id": "11",
"document": "CURP4321TEST",
"first_name": "Ricardo",
"last_name": "Carlos",
"email": "[email protected]"
},
"payment_method": "CC",
"token_requested":true
"client_ip": "123.123.123.123",
"back_url": "https://www.merchant.com/deposit_cancelled",
"success_url": "https://www.merchant.com/deposit_completed",
"error_url": "https://www.merchant.com/deposit_error",
"notification_url": "https://www.merchant.com/onekeypayments/notify"
}'3
Last updated
Was this helpful?


