This document is intended to provide a guide for third parties who want to use the FreshPay's Direct API (PayDRC) platform for B2C & C2B transactional services.
The PayDrc API is organized around REST. The API has predictable resource-oriented URLs, which accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and verbs.
The API requires you to pass a merchant key and a merchant secrete for every request.
You can get these keys once you have registered as merchant, on their merchant portal.
- Merchant Portal :
https://merchant.gofreshbakery.space
https://pay-drc.gofreshbakery.space/
- Content-Type:
application/json
All requests should be direct to the /v3
endpoint.
Request header must be provided with the request.
Endpoints for viewing and manipulating the Accounts that the Authenticated User has permissions to access.
- B2C-Credit :
POST /v3/
- C2B-Debit :
POST /v3/
- Verify :
POST /v3/