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_ZtqZhJAAVEu0G0ph",
  • "merchantId": "mcht_ZtqZhJAAVEu0G0pf",
  • "customerId": "cust_ZtqZhJAAVEu0G0pg",
  • "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_ZtqZhJAAVEu0G0pj",
  • "transactionId": "tran_ZtqZhJAAVEu0G0pi",
  • "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.