Logo
100PAY API Documentation

Verify Payments

POST https://api.100pay.co/api/v1/pay/crypto/payment/:payment_id

Verifies successful payment of a token by a customer, using its payment ID.

For a more detailed guide on how to do this, check How to Verify Crypto Payments on 100Pay

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "retries": 0, "acknowledged": false, "dispatched": true, "createdAt": "2023-04-04T16:00:29.134Z", "_id": "642c4a119fdaad002df0b09f", "chargeId": "642c49eb9fdaad002df0b07f", "reference": "JyHvSJHsWD9Lv9gW", "data": { "network": "algorand", "transaction_id": "OILDR43H2D7SBTRFRFJHLVQHEK2CKANJ3JMMS432DV6BRIGN7NQA", "status": "CONFIRMED", "timestamp": "2023-04-04T16:02:25.619Z", "value": { "local": { "amount": 16.52, "currency": "NGN" }, "crypto": { "amount": 0.1, "currency": "ALGO" } }, "block": { "hash": "OILDR43H2D7SBTRFRFJHLVQHEK2CKANJ3JMMS432DV6BRIGN7NQA" }, "charge": { "customer": { "user_id": "1", "name": "Brainy Josh", "phone": "08066427168", "email": "joshuabrendan5@gmail.com" }, "billing": { "currency": "NGN", "vat": 0, "pricing_type": "fixed_price", "amount": "600", "description": "Payment for your Shop100 Order", "country": "NG" }, "status": { "context": { "status": "underpaid", "value": 16.52 }, "value": "underpaid", "total_paid": 16.52 }, "ref_id": "560932461", "payments": [ { "network": "algorand", "transaction_id": "OILDR43H2D7SBTRFRFJHLVQHEK2CKANJ3JMMS432DV6BRIGN7NQA", "status": "CONFIRMED", "timestamp": "2023-04-04T16:02:25.619Z", "value": { "local": { "amount": 16.52, "currency": "NGN" }, "crypto": { "amount": 0.1, "currency": "ALGO" } }, "block": { "height": null, "hash": "OILDR43H2D7SBTRFRFJHLVQHEK2CKANJ3JMMS432DV6BRIGN7NQA" } } ], "charge_source": "external", "createdAt": "2023-04-04T16:00:27.943Z", "_id": "642c49eb9fdaad002df0b07f", "metadata": { "order_id": "642c49eb841ef60040d2b778", "charge_ref": "642c49eb841ef60040d2b778", "customer_id": "622f8f67f8c81600420d7769", "store_id": "62bee01ccbec51004d585ee1", "store_email": "joshuabrendan5@gmail.com" }, "call_back_url": "https://web.shop100.store/thank-you-page/", "app_id": "642367e95f09730038029f87", "userId": "642366ba5f09730038029f55", "chargeId": "642c49eb9fdaad002df0b07f", "__v": 0 } }, "cryptoChargeId": "642c49f09fdaad002df0b08e", "__v": 0 }



Curl
curl -X POST 'https://api.100pay.co/api/v1/pay/crypto/payment/:payment_id'

ENDPOINTS