Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REST resources of restful-endpoint:
- 1.0-SNAPSHOT
- POST api/dtupay/customers:
- Request:
- Content-Type: application/json
- Request Body: com.dtupay.monolith.Models.DTUPayUserDTO
- {
- "accountID": "string",
- "cprNumber": "string",
- "firstName": "string",
- "lastName": "string"
- }
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: com.dtupay.monolith.Models.CustomerIDDTO
- {
- "customerAccountID": "string",
- "customerID": {
- }
- }
- GET api/dtupay/customers/report:
- Request:
- No body
- Query Param: endDate, java.lang.String
- Query Param: id, java.lang.String
- Query Param: startDate, java.lang.String
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: java.lang.String
- GET api/dtupay/customers/{id}:
- Request:
- No body
- Path Param: id, java.lang.String
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: com.dtupay.monolith.Models.DTUPayUserDTO
- {
- "accountID": "string",
- "cprNumber": "string",
- "firstName": "string",
- "lastName": "string"
- }
- POST api/dtupay/customers/{id}/tokens:
- Request:
- Content-Type: application/json
- Request Body: com.dtupay.monolith.Models.RequestTokenDTO
- {
- "customerID": "string",
- "numberOfTokens": 0
- }
- Path Param: id, java.lang.String
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: com.dtupay.monolith.Models.TokenListDTO
- {
- "tokens": [
- {
- "customerID": {
- },
- "status": "ACCEPTED|REJECTED|UNUSED",
- "tokenID": "string"
- }
- ]
- }
- POST api/dtupay/merchants:
- Request:
- Content-Type: application/json
- Request Body: com.dtupay.monolith.Models.DTUPayUserDTO
- {
- "accountID": "string",
- "cprNumber": "string",
- "firstName": "string",
- "lastName": "string"
- }
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: com.dtupay.monolith.Models.MerchantIDDTO
- {
- "merchantAccountID": "string",
- "merchantID": {
- }
- }
- GET api/dtupay/merchants/report:
- Request:
- No body
- Query Param: endDate, java.lang.String
- Query Param: id, java.lang.String
- Query Param: startDate, java.lang.String
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: java.lang.String
- POST api/dtupay/merchants/transfer:
- Request:
- Content-Type: application/json
- Request Body: dtupay.core.models.DTOs.PaymentDTO
- {
- "amount": 0.0,
- "description": "string",
- "merchanID": {
- },
- "tokenID": "string"
- }
- Response:
- Content-Type: */*
- Status Codes: 200
- GET api/dtupay/merchants/{id}:
- Request:
- No body
- Path Param: id, java.lang.String
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: com.dtupay.monolith.Models.DTUPayUserDTO
- {
- "accountID": "string",
- "cprNumber": "string",
- "firstName": "string",
- "lastName": "string"
- }
- PUT api/dtupay/merchants/{id}:
- Request:
- Content-Type: application/json
- Request Body: com.dtupay.monolith.Models.DTUPayUserDTO
- {
- "accountID": "string",
- "cprNumber": "string",
- "firstName": "string",
- "lastName": "string"
- }
- Path Param: id, java.lang.String
- Response:
- Content-Type: application/json
- Status Codes: 200
- Response Body: java.lang.String
- DELETE api/dtupay/merchants/{id}:
- Request:
- No body
- Path Param: id, java.lang.String
- Response:
- Content-Type: application/json
- Status Codes: 204
- POST api/dtupay/testCustomer:
- Request:
- Content-Type: application/json
- Request Body: com.dtupay.monolith.Models.CustomerIDDTO
- {
- "customerAccountID": "string",
- "customerID": {
- }
- }
- Response:
- Content-Type: */*
- Status Codes: 204
- POST api/dtupay/testMerchant:
- Request:
- Content-Type: application/json
- Request Body: com.dtupay.monolith.Models.MerchantIDDTO
- {
- "merchantAccountID": "string",
- "merchantID": {
- }
- }
- Response:
- Content-Type: */*
- Status Codes: 204
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement