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_Zz_j6R6IwWmwGetE",
  • "merchantId": "mcht_Zz_j6R6IwWmwGetC",
  • "customerId": "cust_Zz_j6R6IwWmwGetD",
  • "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_Zz_j6R6IwWmwGetG",
  • "transactionId": "tran_Zz_j6R6IwWmwGetF",
  • "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.