Binance Pay
Initiate a payment using BinancePay.
Initialization
POST /payment-sessions
Sample Request
{
"customer": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone_number": "+2348118873422",
"billing_address": {
"line1": "123 Main St",
"line2": "345 Eianon Zone",
"city": "Springfield",
"state": "CA",
"country": "US",
"zip_code": "12345"
}
},
"description": "Test",
"currency": "NGN",
"amount": 100000,
"direction": "incoming",
},
"reference": "1b09d9b2-11jd9eheveb-9203v02g",
"metadata": {
"order": {
"identifier": "ORD12345",
"items": [
{
"name": "Deposit",
"type": "digital"
}
]
}
}
}
Sample Response
{
"data": {
"auth_type": null,
"expires_at": null,
"links": {
"url": "https://payments.spendjuice.com/payment-sessions/PxREX3wYN7YmbfeTcbbwZL"
},
"message": "Pending",
"payment": {
"amount": 100,
"cancellation_reason": "",
"correlation_id": "68516aac-e860-11ee-b44a-aedb120c6c16",
"currency": "USD",
"customer": {
"billing_address": {
"city": "Awolowo Road",
"country": "NG",
"line1": "Opposite Sasa Estate",
"line2": "Igloo Zone",
"state": "Kwara",
"zip_code": "23401"
},
"email": "asajuenitan@gmail.com",
"first_name": "Enitan",
"id": "d05e51df-809e-498a-ac3f-7acfc0b5d35d",
"last_name": "Michael",
"phone_number": "+2348036120313"
},
"date": "2024-03-22T15:25:25.973484Z",
"description": "Deposit",
"id": "6851605c-e860-11ee-9c3f-aedb120c6c16",
"metadata": {
"order": {
"identifier": "juice-deposit-d474131e-9bbf-475c-b186-0629226d7215",
"items": [
{
"name": "Deposit",
"type": "digital"
}
]
}
},
"mode": "live",
"payment_method": null,
"reference": "ref-juice-a1fec7e4-18e4-41f5-864d-96dabefd6836",
"status": "pending"
},
"status": "pending"
}
}
Last updated