title | language_tabs | language_clients | toc_footers | includes | search | highlight_theme | headingLevel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@sourceloop/payment-service v14.2.0 |
|
|
true |
darkula |
2 |
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
payment microservice
Base URLs:
Code samples
const inputBody = '{}';
const headers = {
'Content-Type':'application/json',
'Accept':'text/html'
};
fetch('/create-subscription-and-pay',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {};
const headers = {
'Content-Type':'application/json',
'Accept':'text/html'
};
fetch('/create-subscription-and-pay',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /create-subscription-and-pay
Permissions |
---|
CreateSubscription |
2 |
Body parameter
{}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | false | none |
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
302 | Found | Subscription model instance | None |
Code samples
const inputBody = '{}';
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json'
};
fetch('/subscription/transaction/charge',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {};
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json'
};
fetch('/subscription/transaction/charge',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /subscription/transaction/charge
Body parameter
{}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | false | none |
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscription model instance | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/orders/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/orders/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /orders/count
Permissions |
---|
ViewOrder |
7 |
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Orders model count | loopback.Count |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/orders/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
};
const headers = {
'Content-Type':'application/json'
};
fetch('/orders/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /orders/{id}
Permissions |
---|
UpdateOrder |
8 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | Orders | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Orders PUT success | None |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/orders/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
};
const headers = {
'Content-Type':'application/json'
};
fetch('/orders/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /orders/{id}
Permissions |
---|
UpdateOrder |
8 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | OrdersPartial | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Orders PATCH success | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/orders/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/orders/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /orders/{id}
Permissions |
---|
ViewOrder |
7 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
filter | query | orders.Filter | false | none |
Example responses
200 Response
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Orders model instance | OrdersWithRelations |
Code samples
fetch('/orders/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
fetch('/orders/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
DELETE /orders/{id}
Permissions |
---|
DeleteOrder |
9 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Orders DELETE success | None |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/orders',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/orders',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /orders
Permissions |
---|
CreateOrder |
6 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | NewOrders | false | none |
Example responses
200 Response
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Orders model instance | Orders |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/orders',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/orders',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /orders
Permissions |
---|
UpdateOrder |
8 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
body | body | OrdersPartial | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Orders PATCH success count | loopback.Count |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/orders',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/orders',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /orders
Permissions |
---|
ViewOrder |
7 |
Name | In | Type | Required | Description |
---|---|---|---|---|
filter | query | orders.Filter1 | false | none |
Example responses
200 Response
[
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
]
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Array of Orders model instances | Inline |
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [OrdersWithRelations] | false | none | [(tsType: OrdersWithRelations, schemaOptions: { includeRelations: true })] |
» OrdersWithRelations | OrdersWithRelations | false | none | (tsType: OrdersWithRelations, schemaOptions: { includeRelations: true }) |
»» id | string | false | none | none |
»» totalAmount | number | true | none | none |
»» currency | string | true | none | none |
»» status | string | true | none | none |
»» paymentGatewayId | string | true | none | none |
»» paymentmethod | string | false | none | none |
»» metaData | object | false | none | none |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/payment-gateways/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/payment-gateways/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /payment-gateways/count
Permissions |
---|
ViewGateway |
12 |
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | PaymentGateways model count | loopback.Count |
Code samples
const inputBody = '{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/payment-gateways/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
};
const headers = {
'Content-Type':'application/json'
};
fetch('/payment-gateways/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /payment-gateways/{id}
Permissions |
---|
UpdateGateway |
11 |
Body parameter
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | PaymentGateways | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | PaymentGateways PUT success | None |
Code samples
const inputBody = '{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/payment-gateways/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
};
const headers = {
'Content-Type':'application/json'
};
fetch('/payment-gateways/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /payment-gateways/{id}
Permissions |
---|
UpdateGateway |
11 |
Body parameter
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | PaymentGatewaysPartial | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | PaymentGateways PATCH success | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/payment-gateways/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/payment-gateways/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /payment-gateways/{id}
Permissions |
---|
ViewGateway |
12 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
filter | query | paymentgateways.Filter | false | none |
Example responses
200 Response
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | PaymentGateways model instance | PaymentGatewaysWithRelations |
Code samples
fetch('/payment-gateways/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
fetch('/payment-gateways/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
DELETE /payment-gateways/{id}
Permissions |
---|
DeleteGateway |
13 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | PaymentGateways DELETE success | None |
Code samples
const inputBody = '{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/payment-gateways',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/payment-gateways',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /payment-gateways
Permissions |
---|
CreateGateway |
10 |
Body parameter
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | NewPaymentGateways | false | none |
Example responses
200 Response
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | PaymentGateways model instance | PaymentGateways |
Code samples
const inputBody = '{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/payment-gateways',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/payment-gateways',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /payment-gateways
Permissions |
---|
UpdateGateway |
11 |
Body parameter
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
body | body | PaymentGatewaysPartial | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | PaymentGateways PATCH success count | loopback.Count |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/payment-gateways',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/payment-gateways',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /payment-gateways
Permissions |
---|
ViewGateway |
12 |
Name | In | Type | Required | Description |
---|---|---|---|---|
filter | query | paymentgateways.Filter1 | false | none |
Example responses
200 Response
[
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
]
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Array of PaymentGateways model instances | Inline |
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [PaymentGatewaysWithRelations] | false | none | [(tsType: PaymentGatewaysWithRelations, schemaOptions: { includeRelations: true })] |
» PaymentGatewaysWithRelations | PaymentGatewaysWithRelations | false | none | (tsType: PaymentGatewaysWithRelations, schemaOptions: { includeRelations: true }) |
»» id | string | true | none | none |
»» name | string | true | none | none |
»» gatewayType | string | true | none | none |
»» enabled | boolean | true | none | none |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/ping',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/ping',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ping
Example responses
200 Response
{
"greeting": "string",
"date": "string",
"url": "string",
"headers": {
"Content-Type": "string"
}
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Ping Response | PingResponse |
Code samples
const inputBody = '{}';
const headers = {
'Content-Type':'application/json',
'Accept':'text/html'
};
fetch('/place-order-and-pay',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {};
const headers = {
'Content-Type':'application/json',
'Accept':'text/html'
};
fetch('/place-order-and-pay',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /place-order-and-pay
Body parameter
{}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | false | none |
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
302 | Found | Order model instance | None |
Code samples
const inputBody = '{}';
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json'
};
fetch('/transactions/charge',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {};
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json'
};
fetch('/transactions/charge',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /transactions/charge
Body parameter
{}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | false | none |
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Transacttion Gateway Request | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/transactions/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/transactions/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /transactions/count
Permissions |
---|
ViewTransaction |
19 |
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Transactions model count | loopback.Count |
Code samples
const headers = {
'Accept':'text/html'
};
fetch('/transactions/orderid/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'text/html'
};
fetch('/transactions/orderid/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /transactions/orderid/{id}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Example responses
200 Response
{}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | HTML response for payment gateway interface. | Inline |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/transactions/refund/parse/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/transactions/refund/parse/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /transactions/refund/parse/{id}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Refund Object from payment gateway | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/transactions/refund/{id}',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/transactions/refund/{id}',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /transactions/refund/{id}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Refund Object from payment gateway | None |
Code samples
const inputBody = '{}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/transactions/webhook',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/transactions/webhook',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /transactions/webhook
Body parameter
{}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | false | none |
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscription Gateway Request | None |
Code samples
const inputBody = '{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/transactions/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
};
const headers = {
'Content-Type':'application/json'
};
fetch('/transactions/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /transactions/{id}
Permissions |
---|
UpdateTransaction |
20 |
Body parameter
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | Transactions | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Transactions PUT success | None |
Code samples
const inputBody = '{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/transactions/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
};
const headers = {
'Content-Type':'application/json'
};
fetch('/transactions/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /transactions/{id}
Permissions |
---|
UpdateTransaction |
20 |
Body parameter
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | TransactionsPartial | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Transactions PATCH success | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/transactions/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/transactions/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /transactions/{id}
Permissions |
---|
ViewTransaction |
19 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
filter | query | transactions.Filter | false | none |
Example responses
200 Response
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Transactions model instance | TransactionsWithRelations |
Code samples
fetch('/transactions/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
fetch('/transactions/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
DELETE /transactions/{id}
Permissions |
---|
DeleteTransaction |
21 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Transactions DELETE success | None |
Code samples
const inputBody = '{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/transactions',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/transactions',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /transactions
Permissions |
---|
CreateTransaction |
18 |
Body parameter
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | NewTransactions | false | none |
Example responses
200 Response
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Transactions model instance | Transactions |
Code samples
const inputBody = '{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/transactions',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/transactions',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /transactions
Permissions |
---|
UpdateTransaction |
20 |
Body parameter
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
body | body | TransactionsPartial | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Transactions PATCH success count | loopback.Count |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/transactions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/transactions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /transactions
Permissions |
---|
ViewTransaction |
19 |
Name | In | Type | Required | Description |
---|---|---|---|---|
filter | query | transactions.Filter1 | false | none |
Example responses
200 Response
[
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
]
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Array of Transactions model instances | Inline |
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [TransactionsWithRelations] | false | none | [(tsType: TransactionsWithRelations, schemaOptions: { includeRelations: true })] |
» TransactionsWithRelations | TransactionsWithRelations | false | none | (tsType: TransactionsWithRelations, schemaOptions: { includeRelations: true }) |
»» id | string | true | none | none |
»» amountPaid | number | true | none | none |
»» currency | string | true | none | none |
»» status | string | true | none | none |
»» paidDate | string(date-time) | false | none | none |
»» paymentGatewayId | string | false | none | none |
»» orderId | string | false | none | none |
»» res | object | false | none | none |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/subscriptions/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/subscriptions/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /subscriptions/count
Permissions |
---|
GetSubscriptionCount |
1 |
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscriptions model count | loopback.Count |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/subscriptions/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
};
const headers = {
'Content-Type':'application/json'
};
fetch('/subscriptions/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /subscriptions/{id}
Permissions |
---|
UpdateSubscriptions |
4 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | Subscriptions | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Subscriptions PUT success | None |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/subscriptions/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
};
const headers = {
'Content-Type':'application/json'
};
fetch('/subscriptions/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /subscriptions/{id}
Permissions |
---|
UpdateSubscriptions |
4 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | SubscriptionsPartial | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Subscriptions PATCH success | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/subscriptions/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/subscriptions/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /subscriptions/{id}
Permissions |
---|
GetSubscriptions |
3 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
filter | query | subscriptions.Filter | false | none |
Example responses
200 Response
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscriptions model instance | SubscriptionsWithRelations |
Code samples
fetch('/subscriptions/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
fetch('/subscriptions/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
DELETE /subscriptions/{id}
Permissions |
---|
DeleteSubscriptions |
5 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Subscriptions DELETE success | None |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/subscriptions',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/subscriptions',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /subscriptions
Permissions |
---|
CreateSubscription |
2 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | NewSubscriptions | false | none |
Example responses
200 Response
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscriptions model instance | Subscriptions |
Code samples
const inputBody = '{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/subscriptions',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/subscriptions',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /subscriptions
Permissions |
---|
UpdateSubscriptions |
4 |
Body parameter
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
body | body | SubscriptionsPartial | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscriptions PATCH success count | loopback.Count |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/subscriptions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/subscriptions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /subscriptions
Permissions |
---|
GetSubscriptions |
3 |
Name | In | Type | Required | Description |
---|---|---|---|---|
filter | query | subscriptions.Filter1 | false | none |
Example responses
200 Response
[
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
]
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Array of Subscriptions model instances | Inline |
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [SubscriptionsWithRelations] | false | none | [(tsType: SubscriptionsWithRelations, schemaOptions: { includeRelations: true })] |
» SubscriptionsWithRelations | SubscriptionsWithRelations | false | none | (tsType: SubscriptionsWithRelations, schemaOptions: { includeRelations: true }) |
»» id | string | true | none | none |
»» totalAmount | number | true | none | none |
»» currency | string | false | none | none |
»» status | string | true | none | none |
»» paymentGatewayId | string | false | none | none |
»» paymentMethod | string | false | none | none |
»» metaData | object | false | none | none |
»» startDate | string(date-time) | false | none | none |
»» endDate | string(date-time) | false | none | none |
»» gatewaySubscriptionId | string | false | none | none |
»» planId | string | false | none | none |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/templates/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/templates/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /templates/count
Permissions |
---|
ViewTemplate |
16 |
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Templates model count | loopback.Count |
Code samples
const inputBody = '{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/templates/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
};
const headers = {
'Content-Type':'application/json'
};
fetch('/templates/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /templates/{id}
Permissions |
---|
UpdateTemplate |
15 |
Body parameter
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | Templates | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Templates PUT success | None |
Code samples
const inputBody = '{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}';
const headers = {
'Content-Type':'application/json'
};
fetch('/templates/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
};
const headers = {
'Content-Type':'application/json'
};
fetch('/templates/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /templates/{id}
Permissions |
---|
UpdateTemplate |
15 |
Body parameter
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | TemplatesPartial | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Templates PATCH success | None |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/templates/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/templates/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /templates/{id}
Permissions |
---|
ViewTemplate |
16 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
filter | query | templates.Filter | false | none |
Example responses
200 Response
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Templates model instance | TemplatesWithRelations |
Code samples
fetch('/templates/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
fetch('/templates/{id}',
{
method: 'DELETE'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
DELETE /templates/{id}
Permissions |
---|
DeleteTemplate |
17 |
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Templates DELETE success | None |
Code samples
const inputBody = '{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/templates',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/templates',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /templates
Permissions |
---|
CreateTemplate |
14 |
Body parameter
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | NewTemplates | false | none |
Example responses
200 Response
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Templates model instance | Templates |
Code samples
const inputBody = '{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/templates',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/templates',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PATCH /templates
Permissions |
---|
UpdateTemplate |
15 |
Body parameter
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
Name | In | Type | Required | Description |
---|---|---|---|---|
where | query | object | false | none |
body | body | TemplatesPartial | false | none |
Example responses
200 Response
{
"count": 0
}
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Templates PATCH success count | loopback.Count |
Code samples
const headers = {
'Accept':'application/json'
};
fetch('/templates',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};
fetch('/templates',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /templates
Permissions |
---|
ViewTemplate |
16 |
Name | In | Type | Required | Description |
---|---|---|---|---|
filter | query | templates.Filter1 | false | none |
Example responses
200 Response
[
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
]
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Array of Templates model instances | Inline |
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [TemplatesWithRelations] | false | none | [(tsType: TemplatesWithRelations, schemaOptions: { includeRelations: true })] |
» TemplatesWithRelations | TemplatesWithRelations | false | none | (tsType: TemplatesWithRelations, schemaOptions: { includeRelations: true }) |
»» id | string | true | none | none |
»» paymentGatewayId | string | true | none | none |
»» name | string | true | none | none |
»» template | string | true | none | none |
»» type | string | true | none | none |
Code samples
const headers = {
'Accept':'text/html'
};
fetch('/transactions/subscription/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'text/html'
};
fetch('/transactions/subscription/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /transactions/subscription/{id}
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Example responses
302 Response
{}
Status | Meaning | Description | Schema |
---|---|---|---|
302 | Found | Array of Transactions model instances | Inline |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
Orders
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
totalAmount | number | true | none | none |
currency | string | true | none | none |
status | string | true | none | none |
paymentGatewayId | string | true | none | none |
paymentmethod | string | false | none | none |
metaData | object | false | none | none |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
NewOrders
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
totalAmount | number | true | none | none |
currency | string | true | none | none |
status | string | true | none | none |
paymentGatewayId | string | true | none | none |
paymentmethod | string | false | none | none |
metaData | object | false | none | none |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
OrdersWithRelations
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
totalAmount | number | true | none | none |
currency | string | true | none | none |
status | string | true | none | none |
paymentGatewayId | string | true | none | none |
paymentmethod | string | false | none | none |
metaData | object | false | none | none |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentmethod": "string",
"metaData": {}
}
OrdersPartial
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
totalAmount | number | false | none | none |
currency | string | false | none | none |
status | string | false | none | none |
paymentGatewayId | string | false | none | none |
paymentmethod | string | false | none | none |
metaData | object | false | none | none |
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
Transactions
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
amountPaid | number | true | none | none |
currency | string | true | none | none |
status | string | true | none | none |
paidDate | string(date-time) | false | none | none |
paymentGatewayId | string | false | none | none |
orderId | string | false | none | none |
res | object | false | none | none |
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
NewTransactions
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
amountPaid | number | true | none | none |
currency | string | true | none | none |
status | string | true | none | none |
paidDate | string(date-time) | false | none | none |
paymentGatewayId | string | false | none | none |
orderId | string | false | none | none |
res | object | false | none | none |
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
TransactionsWithRelations
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
amountPaid | number | true | none | none |
currency | string | true | none | none |
status | string | true | none | none |
paidDate | string(date-time) | false | none | none |
paymentGatewayId | string | false | none | none |
orderId | string | false | none | none |
res | object | false | none | none |
{
"id": "string",
"amountPaid": 0,
"currency": "string",
"status": "string",
"paidDate": "2019-08-24T14:15:22Z",
"paymentGatewayId": "string",
"orderId": "string",
"res": {}
}
TransactionsPartial
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
amountPaid | number | false | none | none |
currency | string | false | none | none |
status | string | false | none | none |
paidDate | string(date-time) | false | none | none |
paymentGatewayId | string | false | none | none |
orderId | string | false | none | none |
res | object | false | none | none |
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
PaymentGateways
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
name | string | true | none | none |
gatewayType | string | true | none | none |
enabled | boolean | true | none | none |
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
NewPaymentGateways
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
name | string | true | none | none |
gatewayType | string | true | none | none |
enabled | boolean | true | none | none |
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
PaymentGatewaysWithRelations
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
name | string | true | none | none |
gatewayType | string | true | none | none |
enabled | boolean | true | none | none |
{
"id": "string",
"name": "string",
"gatewayType": "string",
"enabled": true
}
PaymentGatewaysPartial
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
name | string | false | none | none |
gatewayType | string | false | none | none |
enabled | boolean | false | none | none |
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
Templates
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
paymentGatewayId | string | true | none | none |
name | string | true | none | none |
template | string | true | none | none |
type | string | true | none | none |
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
NewTemplates
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
paymentGatewayId | string | true | none | none |
name | string | true | none | none |
template | string | true | none | none |
type | string | true | none | none |
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
TemplatesWithRelations
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
paymentGatewayId | string | true | none | none |
name | string | true | none | none |
template | string | true | none | none |
type | string | true | none | none |
{
"id": "string",
"paymentGatewayId": "string",
"name": "string",
"template": "string",
"type": "string"
}
TemplatesPartial
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
paymentGatewayId | string | false | none | none |
name | string | false | none | none |
template | string | false | none | none |
type | string | false | none | none |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
Subscriptions
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
totalAmount | number | true | none | none |
currency | string | false | none | none |
status | string | true | none | none |
paymentGatewayId | string | false | none | none |
paymentMethod | string | false | none | none |
metaData | object | false | none | none |
startDate | string(date-time) | false | none | none |
endDate | string(date-time) | false | none | none |
gatewaySubscriptionId | string | false | none | none |
planId | string | false | none | none |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
NewSubscriptions
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
totalAmount | number | true | none | none |
currency | string | false | none | none |
status | string | true | none | none |
paymentGatewayId | string | false | none | none |
paymentMethod | string | false | none | none |
metaData | object | false | none | none |
startDate | string(date-time) | false | none | none |
endDate | string(date-time) | false | none | none |
gatewaySubscriptionId | string | false | none | none |
planId | string | false | none | none |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
SubscriptionsWithRelations
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | true | none | none |
totalAmount | number | true | none | none |
currency | string | false | none | none |
status | string | true | none | none |
paymentGatewayId | string | false | none | none |
paymentMethod | string | false | none | none |
metaData | object | false | none | none |
startDate | string(date-time) | false | none | none |
endDate | string(date-time) | false | none | none |
gatewaySubscriptionId | string | false | none | none |
planId | string | false | none | none |
{
"id": "string",
"totalAmount": 0,
"currency": "string",
"status": "string",
"paymentGatewayId": "string",
"paymentMethod": "string",
"metaData": {},
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"gatewaySubscriptionId": "string",
"planId": "string"
}
SubscriptionsPartial
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | none |
totalAmount | number | false | none | none |
currency | string | false | none | none |
status | string | false | none | none |
paymentGatewayId | string | false | none | none |
paymentMethod | string | false | none | none |
metaData | object | false | none | none |
startDate | string(date-time) | false | none | none |
endDate | string(date-time) | false | none | none |
gatewaySubscriptionId | string | false | none | none |
planId | string | false | none | none |
{
"count": 0
}
loopback.Count
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
count | number | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"id": true,
"totalAmount": true,
"currency": true,
"status": true,
"paymentGatewayId": true,
"paymentmethod": true,
"metaData": true
}
}
orders.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» totalAmount | boolean | false | none | none |
»» currency | boolean | false | none | none |
»» status | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» paymentmethod | boolean | false | none | none |
»» metaData | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"id": true,
"totalAmount": true,
"currency": true,
"status": true,
"paymentGatewayId": true,
"paymentmethod": true,
"metaData": true
}
}
orders.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
where | object | false | none | none |
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» totalAmount | boolean | false | none | none |
»» currency | boolean | false | none | none |
»» status | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» paymentmethod | boolean | false | none | none |
»» metaData | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"id": true,
"name": true,
"gatewayType": true,
"enabled": true
}
}
paymentgateways.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» name | boolean | false | none | none |
»» gatewayType | boolean | false | none | none |
»» enabled | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"id": true,
"name": true,
"gatewayType": true,
"enabled": true
}
}
paymentgateways.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
where | object | false | none | none |
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» name | boolean | false | none | none |
»» gatewayType | boolean | false | none | none |
»» enabled | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"greeting": "string",
"date": "string",
"url": "string",
"headers": {
"Content-Type": "string"
}
}
PingResponse
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
greeting | string | false | none | none |
date | string | false | none | none |
url | string | false | none | none |
headers | object | false | none | none |
» Content-Type | string | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"id": true,
"totalAmount": true,
"currency": true,
"status": true,
"paymentGatewayId": true,
"paymentMethod": true,
"metaData": true,
"startDate": true,
"endDate": true,
"gatewaySubscriptionId": true,
"planId": true
}
}
subscriptions.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» totalAmount | boolean | false | none | none |
»» currency | boolean | false | none | none |
»» status | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» paymentMethod | boolean | false | none | none |
»» metaData | boolean | false | none | none |
»» startDate | boolean | false | none | none |
»» endDate | boolean | false | none | none |
»» gatewaySubscriptionId | boolean | false | none | none |
»» planId | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"id": true,
"totalAmount": true,
"currency": true,
"status": true,
"paymentGatewayId": true,
"paymentMethod": true,
"metaData": true,
"startDate": true,
"endDate": true,
"gatewaySubscriptionId": true,
"planId": true
}
}
subscriptions.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
where | object | false | none | none |
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» totalAmount | boolean | false | none | none |
»» currency | boolean | false | none | none |
»» status | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» paymentMethod | boolean | false | none | none |
»» metaData | boolean | false | none | none |
»» startDate | boolean | false | none | none |
»» endDate | boolean | false | none | none |
»» gatewaySubscriptionId | boolean | false | none | none |
»» planId | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"id": true,
"paymentGatewayId": true,
"name": true,
"template": true,
"type": true
}
}
templates.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» name | boolean | false | none | none |
»» template | boolean | false | none | none |
»» type | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"id": true,
"paymentGatewayId": true,
"name": true,
"template": true,
"type": true
}
}
templates.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
where | object | false | none | none |
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» name | boolean | false | none | none |
»» template | boolean | false | none | none |
»» type | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"id": true,
"amountPaid": true,
"currency": true,
"status": true,
"paidDate": true,
"paymentGatewayId": true,
"orderId": true,
"res": true
}
}
transactions.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» amountPaid | boolean | false | none | none |
»» currency | boolean | false | none | none |
»» status | boolean | false | none | none |
»» paidDate | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» orderId | boolean | false | none | none |
»» res | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
{
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"id": true,
"amountPaid": true,
"currency": true,
"status": true,
"paidDate": true,
"paymentGatewayId": true,
"orderId": true,
"res": true
}
}
transactions.Filter
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
where | object | false | none | none |
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» id | boolean | false | none | none |
»» amountPaid | boolean | false | none | none |
»» currency | boolean | false | none | none |
»» status | boolean | false | none | none |
»» paidDate | boolean | false | none | none |
»» paymentGatewayId | boolean | false | none | none |
»» orderId | boolean | false | none | none |
»» res | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |