Papara Deposit

Creating a papara deposit request

POST https://API_BASE_DOMAIN/deposit/papara

Request Body

Name
Type
Description

api_key*

string

Merchant's API Key

customer_id*

string

Customer's unique ID

username*

string

Customer's username

fullname*

string

Customer's name and surname

amount

integer

Amount in INT format

transaction_id*

string

Transaction ID created from your side (this value is sent by callback request when transaction is completed)

token*

string

Create a string imploding values with pipe and hash it with sha256 algorithm. PHP Example: hash("sha256", "api_key|api_secret|username|amount|transaction_id")

callback_url*

string

Transaction result will be send this endpoint

go_back_url

string

Customer will redirect this URL after payment process is completed. (example: https://abc.com/bla)

{
  "success": true,
  "data": {
    "status": "success",
    "message": "Deposit request created successfully.",
    "redirect_url": "https://leopay.url/deposit/0ea522c1-0f0d-4a4e-8447-6a64cea44756/papara-auto/result/15cd3a72-d02a-42dc-8fbe-9743a89fe864",
    "provision": {
      "id": "15cd3a72-d02a-42dc-8fbe-9743a89fe864",
      "username": "12345",
      "fullname": "John doee"
    }
  }
}

Last updated