Get Payment Request

Changed on

Get payment detail information and its payment page

get/payment/request/{id}

Request

  • Base URL
    https://open-api.stag-v2.paper.id/api/v1
  • URL
    https://open-api.stag-v2.paper.id/api/v1/payment/request/{id}
  • Auth
    API key in header client_id and API key in header client_secret

Path parameters

idstring required

Payment Request ID

Response

200

status_codeinteger
messagestring

Example response

{
  "status_code": 200,
  "message": "Request Success",
  "data": {
    "amount": {
      "grand_amount": 22880,
      "subtotal_amount": 20000
    },
    "payment_fee": {
      "buyer_fee_amount": 2880,
      "merchant_fee": 380
    },
    "payment_method": {
      "channel": "Visa",
      "method": "credit_card"
    },
    "payper_url": "get.paper.id/syCt9SY",
    "redirect_url": "https://www.acme.com/payment-success",
    "ref_id": "PRPYIN10299-cop",
    "transaction_id": "dfffdf0c-c6a4-44a8-bdfb-51ba1ba12d62",
    "transaction_status": "success"
  }
}

Changes