Get Pay Plan

Return details of a pay plan.

SecurityMarketplace Api Key | Merchant Secret Token | Admin JWT | Marketplace JWT | Merchant JWT
Request
path Parameters
payPlanId
required
string
Responses
200
400
401
403
404
405
406
409
422
429
500
503
get/payplans/{payPlanId}
Request samples
Response samples
application/json
{
  • "payPlanId": "plan_Zv9OAqSZMUXvqPJM",
  • "merchantId": "mcht_Zv9OAqSZMUXvqPJK",
  • "customerId": "cust_Zv9OAqSZMUXvqPJL",
  • "state": "Created",
  • "amount": {
    },
  • "surchargeAmount": 0,
  • "platformFee": 0,
  • "taxAmount": 0,
  • "payPlanVariant": "payplan_fortnight_25_25_25_25",
  • "nextInstalmentDate": "2019-08-24T14:15:22Z",
  • "nextInstalment": 3,
  • "planAmountOutstanding": 0,
  • "paymentSourceType": "Card",
  • "merchantOrderId": "ordr_Zv9OAqSZMUXvqPJO",
  • "transactionId": "tran_Zv9OAqSZMUXvqPJN",
  • "charges": [
    ],
  • "refunds": [
    ],
  • "isRefunded": true,
  • "isOverdue": true,
  • "overdueAmount": 0,
  • "overdueAt": "2019-08-24T14:15:22Z",
  • "bankTransferDetails": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}
Copyright © April Solutions 2023. All right reserved.