Bank Transfers
Initiate a bank transfer payment.
Initialization
The initialization data is similar to the one in the card payment channel.
POST /payment-sessions
Sample Request
{
"customer": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone_number": "+2348000000000",
"billing_address": {
"line1": "123 Main St",
"line2": "off tomasz street",
"city": "Ikoyi",
"state": "LA",
"country": "NG",
"zip_code": "12345"
}
},
"description": "Test",
"currency": "NGN",
"amount": 100000,
"direction": "incoming",
"payment_method": {
"type": "bank_account"
},
"reference": "1b09d9b2-11jd9eheveb-9203v02g",
"metadata": {
"order": {
"identifier": "ORD12345",
"items": [
{
"name": "Deposit",
"type": "digital"
}
]
}
}
}
Sample Response
{
"data": {
"auth_type": "3ds",
"expires_at": "2024-03-01T08:43:08.110470Z",
"links": {},
"message": "Successful",
"payment": {
"amount": 50000,
"cancellation_reason": "",
"correlation_id": "2549dcf4-d743-11ee-9d95-c6d49632367b",
"currency": "NGN",
"customer": {
"billing_address": {
"city": "Awolowo Road",
"country": "NG",
"line1": "Opposite Sasa Estate",
"line2": "off okonjo 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-02-29T20:43:08.344264Z",
"description": "Deposit",
"id": "2549c96c-d743-11ee-aa4d-c6d49632367b",
"metadata": {
"order": {
"identifier": "juice-deposit-dbf99bd0-262a-46bd-8339-3c741d040dbb",
"items": [
{
"name": "Deposit",
"type": "digital"
}
]
}
},
"mode": "live",
"payment_method": {
"id": "5e21efda-c526-4057-92f6-1b94ee210b47",
"type": "bank_account"
},
"reference": "ref-juice-85d53ab5-92b8-4151-9f8f-a4f12863a911",
"status": "pending"
},
"status": "pending"
}
}
Last updated