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_Z2idOPj2ECYkyM6I",
  • "merchantId": "mcht_Z2idOPj2ECYkyM6G",
  • "customerId": "cust_Z2idOPj2ECYkyM6H",
  • "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_Z2idOPj2ECYkyM6K",
  • "transactionId": "tran_Z2idOPj2ECYkyM6J",
  • "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.