Getting account balance

This section describes how to retrieve your Payfric balance.

Send a Get request

GET https://payfric.com/wp-json/payfric/v1/balance

This endpoint allows you to get your payfric account base currency balance. Base currency balance means the currency you selected during registration on Payfric.

Query Parameters

Name
Type
Description

secret_key

string

You get your secrete key from your dashboard

email

string

Your payfric email address

Json response
{
   "status": "OK",
   "response": "Response OK",
   "code": 200,
   "data": {
     "error": 0,
     "message": "Account found",
     "data": {
       "balance": 5836.045,
       "currency": "NGN"
     }
   }
 }

Last updated

Was this helpful?