Skip to main content
POST
https://api.checkout.paayoor.com
/
api
/
v1
/
recharge
curl --location --request POST 'https://api.checkout.paayoor.com/api/v1/recharge' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1' \
--data '{
  "amount": "",
  "channel": "",
  "country": "",
  "customer": {
    "fullName": "",
    "phoneNumber": "",
    "email": ""
  },
  "merchantReference": "",
  "pendingUrl": "",
  "succeededUrl": "",
  "failedUrl": "",
  "canceledUrl": "",
  "errorUrl": "",
  "callbackUrl": ""
}'
{
  "success": true,
  "statusCode": 200,
  "message": "Recharge !",
  "data": {
    "collect": {
      "operation": "recharge",
      "token": "cchow-wxmbw-jrhl5-fxxk2-mcack",
      "status": "succeeded",
      "amount": 1000,
      "pricing": {
        "percentageFee": 1.8,
        "additionalFee": 100,
        "feesAmount": 118,
        "supportedByAccount": true
      },
      "cashAmount": 1000,
      "transactionAmount": 882,
      "customer": {
        "fullName": "Mamadou GAYE",
        "phoneNumber": "778737478",
        "email": "[email protected]"
      },
      "merchantReference": "kiufjsknduifdnfz",
      "initiationDate": "2023-09-06T15:02:44.000000Z"
    }
  }
}
api-key
string
required
secret-key
string
required

Body

amount
number
required
channel
string
required
country
string
required
customer
object
required
merchantReference
string
required
pendingUrl
string
succeededUrl
string
failedUrl
string
canceledUrl
string
errorUrl
string
callbackUrl
string
required

Response

success
boolean
statusCode
number
message
string
data
object
curl --location --request POST 'https://api.checkout.paayoor.com/api/v1/recharge' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1' \
--data '{
  "amount": "",
  "channel": "",
  "country": "",
  "customer": {
    "fullName": "",
    "phoneNumber": "",
    "email": ""
  },
  "merchantReference": "",
  "pendingUrl": "",
  "succeededUrl": "",
  "failedUrl": "",
  "canceledUrl": "",
  "errorUrl": "",
  "callbackUrl": ""
}'
{
  "success": true,
  "statusCode": 200,
  "message": "Recharge !",
  "data": {
    "collect": {
      "operation": "recharge",
      "token": "cchow-wxmbw-jrhl5-fxxk2-mcack",
      "status": "succeeded",
      "amount": 1000,
      "pricing": {
        "percentageFee": 1.8,
        "additionalFee": 100,
        "feesAmount": 118,
        "supportedByAccount": true
      },
      "cashAmount": 1000,
      "transactionAmount": 882,
      "customer": {
        "fullName": "Mamadou GAYE",
        "phoneNumber": "778737478",
        "email": "[email protected]"
      },
      "merchantReference": "kiufjsknduifdnfz",
      "initiationDate": "2023-09-06T15:02:44.000000Z"
    }
  }
}