Validate a Charge

post https://api.flutterwave.com/v3/validate-charge

Body Params

otp string

This is a random number of at least 6 characters sent to customers phone number.

flw_ref string

This is the reference returned in the initiate charge call as data.flw_ref

type string

This recognises the type of payment you want to validate. Set to account if you want to validate an account transaction and set to card for card transactions.

Headers

Authorization string

Pass your secret key as a bearer token in the request header to authorize this call

{
  "otp": "123456",
  "flw_ref": "FLW275407301",
  "type": "card"
}
{
    "status": "success",
    "message": "Charge validated",
    "data": {
        "id": 288200108,
        "tx_ref": "LiveCardTest",
        "flw_ref": "FLW275407301",
        "device_fingerprint": "N/A",
        "amount": 100,
        "charged_amount": 100,
        "app_fee": 1.4,
        "merchant_fee": 0,
        "processor_response": "Approved by Financial Institution",
        "auth_model": "PIN",
        "currency": "NGN",
        "ip": "::ffff:10.5.179.3",
        "narration": "CARD Transaction ",
        "status": "successful",
        "auth_url": "N/A",
        "payment_type": "card",
        "fraud_status": "ok",
        "charge_type": "normal",
        "created_at": "2020-07-15T14:31:16.000Z",
        "account_id": 17321,
        "customer": {
            "id": 216519823,
            "phone_number": null,
            "name": "Yemi Desola",
            "email": "user@gmail.com",
            "created_at": "2020-07-15T14:31:15.000Z"
        },
        "card": {
            "first_6digits": "232343",
            "last_4digits": "4567",
            "issuer": "VERVE FIRST CITY MONUMENT BANK PLC",
            "country": "NG",
            "type": "VERVE",
            "expiry": "03/23"
        }
    }
}
{}
Loading...