Get Payment Charge - GET
https://api.100pay.co/api/v1/pay/charge/6417a20d87aae400371762cb
Retrieve previously created Charge Details
AUTHORIZATION - API Key
This request is using API Key from collection Overview
HEADERS
api-key - LIVE;PK;
Example Request
curl --location 'https://api.100pay.co/api/v1/pay/charge/6417a20d87aae400371762cb' \
--header 'api-key: LIVE;PK;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6IjYyZWU1ZGJmYjAyOWI3MDAyZDViNzQ1MyIsInVzZXJJZCI6IjYyOGIyMjhiMTlhYzUyMDAyYzU4ODUyNSIsImlhdCI6MTY1OTc4ODczNX0.wGyE9qfgsmsOLVTQQ9GrTFZ28moPB31I2eZw7uwd7Gw'
json
headers
{
"customer": {
"user_id": "111",
"name": "Brainy Josh",
"phone": "80123456789",
"email": "[email protected]"
},
"billing": {
"currency": "NGN",
"vat": 10,
"pricing_type": "fixed_or_partial_price",
"description": "MY TEST PAYMENT",
"amount": "10000",
"country": "NG"
},
"status": {
"context": {
"status": "notpaid",
"value": 0
},
"value": "unpaid"
},
"ref_id": "012232",
"charge_source": "api",
"createdAt": "2023-03-12T20:15:30.107Z",
"_id": "6417a20d87aae400371762cb",
"metadata": {
"is_approved": "yes"
},
"call_back_url": "http://localhost:8000/verify-payment",
"userId": "628b228b19ac52002c588525",
"app_id": "62ee5dbfb029b7002d5b7453",
"chargeId": "6417a20d87aae400371762cb",
"__v": 0
}
Date
Mon, 20 Mar 2023 00:02:10 GMT
Content-Type
application/json; charset=utf-8
Transfer-Encoding
chunked
Connection
keep-alive
X-Powered-By
Express
Access-Control-Allow-Origin
*
ETag
W/"272-2vFk3lSf7n+TT1GHuven/6Hqh4A"
CF-Cache-Status
DYNAMIC
Report-To
{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=WlbNhDW7E9YQairmDoK263X3aOBnxIZTS2D9WAwkDtuU1161R4HWIgPqz6QFiELpNde%2BhlBolbgalI%2BrQDmVZ7n61YbbVsq537sKTpbidUBt2FPDbwFkqQWGlk%2Fwilqb"}],"group":"cf-nel","max_age":604800}
NEL
{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server
cloudflare
CF-RAY
7aa9af521ffd0e74-AMS
Content-Encoding
br
alt-svc
h3=":443"; ma=86400, h3-29=":443"; ma=86400