Request Funds From Pocket User

Request fund from PocketApp User(Request)

How it works

  • Pass user pocket id or phone number, amount, description and meta.
  • User gets notification on their pocket app to accept or decline request.
  • If user accepts, you will get a webhook notification with event type abeg-transfer.
  • You can always check the status of the request.
curl --location --request POST 'https://rllwjl4z6b.execute-api.eu-central-1.amazonaws.com/api/v1/transfer/request/abeg' \
--header 'Authorization: Bearer {{api_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 500000,
    "tag": "mazigraphql",
    "description": "Send me money abeg",
    "meta": {}
}'

Request Body

{
    "amount": 500000,
    "tag": "mazigraphql",
    "description": "Send me money abeg",
    "meta": {}
}

Response

{
    "status": true,
    "message": "Request sent",
    "data": {
        "request_id": 123456
    }
}