By using vodafone.com.gh, you're consenting to the use of cookies in accordance with our cookie policy I accept that I have read and agreed to the terms set out in Vodafone.ie cookie policy.
MERCHANT : Generate token
[cc lang=”bash” tab_size=”2″ lines=”-1″]
Username: vfmaster
Password: vodafonetest
request : HTTP POST : curl -X POST https://bill.vodafone.com.gh/checkout/oauth/token -H ‘authorization: Basic
dmZtYXN0ZXI6dm9kYWZvbmV0ZXN0’ -H ‘content-type: application/x-www-form-urlencoded’ –
d grant_type=client_credentials
Response:
{
“access_token”:”b48e9811-acd3-468a-9c25-58ff714f52f3”,
“token_type”:”bearer”,
“expires_in”:599,
“scope”:”trust”
}
[/cc]
Using Postman

 

MERCHANT: Sends Transaction Request
[cc lang=”bash” tab_size=”2″ lines=”-1″]
request : HTTP POST : curl -X POST https://bill.vodafone.com.gh d3f98dca-ecbc-4578-8c38-f11e27c070ea’ -H ‘Content-
Type: application/json’ -d ‘{
“merchantName”: “Pizarro”,
“mobileNumber”: “0200000000”,
“reference”: “w1w1112ewq-S12bac19”,
“totalAmount”: “17.00”,
“itemDescription” : “Goods & Services”,
“callbackUrl”: “http://example.com/paymentstatus”,
“ipn” : “http://example.com/ipn-test/index.php”,
“logoUrl” : “http://example.com/paymentstatus/logo.png”
}’
Response:
{
“method”:”GET”,
“paymentReference”:”https://bill.vodafone.com.gh/process/checkout.php?ref=6n8ipH6HrDYHIjMwlUutAoitLZrZZL”
}
[/cc]

Using Postman

MERCHANT: Transaction Status

[cc lang=”bash” tab_size=”2″ lines=”-1″]
request : HTTP GET : curl -X GET
https://bill.vodafone.com.gh/checkout/status/okU2n0yLIKnKJeAO4TauJGjzYCgXfM -H ‘Authorization: Bearer
956146e2-672a-4b9f-885b-df60831ca6d5’ -H ‘Cache-Control: no-cache’ -H ‘Content-Type: application/json’
Response:
{
“description”:”Accept the service request successfully.”
}
[/cc]
Using Postman
Chat with us

Transform your business with the Ready Business Test

Switch to Business