{ "opencollection": "1.0.0", "info": { "name": "Mastercard Bill Payment Validator Account Opening Approvals API", "version": "1.0" }, "items": [ { "info": { "name": "Approvals", "type": "folder" }, "items": [ { "info": { "name": "Approve or decline an installment plan.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/approvals", "params": [ { "name": "sync", "value": "true", "type": "query", "description": "Indicates whether the request is synchronous (the default value is false) or asynchronous." } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API will be used by the provider to approve or decline a plan. This endpoint uses [JWE payload encryption] (https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/#jwe-encryption). Please refer to the [Securing Sensitive Data Using Payload Encryption] (https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/) sections for implementation d" }, { "info": { "name": "Get the status of checkout and callback URL to PSP (Payment service provider).", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/approvals/:plan_id", "params": [ { "name": "plan_id", "value": "3d56f5a7-db48-41f0-875e-30920e8465f3", "type": "path", "description": "Unique identifier for plan" } ] }, "docs": "This API will be used by the provider to get the status of checkout and callback URL to PSP (Payment service provider). This API should be used within 24 hours from the time the approval was posted." } ] } ], "bundled": true }