{ "opencollection": "1.0.0", "info": { "name": "Privado ID - Issuer Agent Payment API", "version": "1" }, "items": [ { "info": { "name": "Payment", "type": "folder" }, "items": [ { "info": { "name": "Get Payment Requests", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/identities/:identifier/payment-request", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" }, { "name": "userDID", "value": "", "type": "query", "description": "Filter by user DID" }, { "name": "schemaID", "value": "", "type": "query", "description": "Filter by schema ID (schemas UUID)" }, { "name": "nonce", "value": "", "type": "query", "description": "Filter by nonce" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get payment requests for the provided identity." }, { "info": { "name": "Create Payment Request", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/identities/:identifier/payment-request", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Create a payment request for the provided identity." }, { "info": { "name": "Get Payment Request", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/identities/:identifier/payment-request/:id", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" }, { "name": "id", "value": "", "type": "path", "description": "UUID parameter, e.g: 8edd8112-c415-11ed-b036-debe37e1cbd6\n" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get a specific payment request for the provided identity." }, { "info": { "name": "Delete Payment Request", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v2/identities/:identifier/payment-request/:id", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" }, { "name": "id", "value": "", "type": "path", "description": "UUID parameter, e.g: 8edd8112-c415-11ed-b036-debe37e1cbd6\n" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Remove a specific payment request for the provided identity." }, { "info": { "name": "Payments Configuration", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/payment/settings", "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Returns the server payments configuration" }, { "info": { "name": "Get Payment Options", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/identities/:identifier/payment/options", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get the payment options for the provided identity." }, { "info": { "name": "Create Payment Option", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/identities/:identifier/payment/options", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Create a payment option for the provided identity." }, { "info": { "name": "Get Payment Option", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/identities/:identifier/payment/options/:id", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" }, { "name": "id", "value": "", "type": "path", "description": "UUID parameter, e.g: 8edd8112-c415-11ed-b036-debe37e1cbd6\n" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get a specific payment option for the provided identity." }, { "info": { "name": "Update Payment Option", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v2/identities/:identifier/payment/options/:id", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" }, { "name": "id", "value": "", "type": "path", "description": "UUID parameter, e.g: 8edd8112-c415-11ed-b036-debe37e1cbd6\n" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update payment option for the provided identity." }, { "info": { "name": "Delete Payment Option", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v2/identities/:identifier/payment/options/:id", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Issuer identifier" }, { "name": "id", "value": "", "type": "path", "description": "UUID parameter, e.g: 8edd8112-c415-11ed-b036-debe37e1cbd6\n" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Remove a specific payment option for the provided identity." }, { "info": { "name": "Verify Payment", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/identities/:identifier/payment/verify/:nonce", "params": [ { "name": "identifier", "value": "", "type": "path" }, { "name": "nonce", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Verify a payment by nonce." } ] } ], "bundled": true }