File tree Expand file tree Collapse file tree 10 files changed +184
-156
lines changed
dist/api/virtual-terminal Expand file tree Collapse file tree 10 files changed +184
-156
lines changed Original file line number Diff line number Diff line change 11{
22 "200" : {
3- "status" : true ,
4- "message" : " Virtual Terminal created" ,
3+ "description" : " 200 Ok" ,
54 "data" : {
6- "id" : 27691 ,
7- "name" : " Sample Terminal" ,
8- "integration" : 530700 ,
9- "domain" : " test" ,
10- "code" : " VT_LJK5892Z" ,
11- "paymentMethods" : [],
12- "active" : true ,
13- "metadata" : null ,
14- "destinations" : [
15- {
16- "target" : " +27639022319" ,
17- "type" : " whatsapp" ,
18- "name" : " Phone Destination"
19- }
20- ],
21- "currency" : " ZAR"
5+ "status" : true ,
6+ "message" : " Virtual Terminal created" ,
7+ "data" : {
8+ "id" : 27691 ,
9+ "name" : " Sample Terminal" ,
10+ "integration" : 530700 ,
11+ "domain" : " test" ,
12+ "code" : " VT_LJK5892Z" ,
13+ "paymentMethods" : [],
14+ "active" : true ,
15+ "metadata" : null ,
16+ "destinations" : [
17+ {
18+ "target" : " +27639022319" ,
19+ "type" : " whatsapp" ,
20+ "name" : " Phone Destination"
21+ }
22+ ],
23+ "currency" : " ZAR"
24+ }
2225 }
2326 }
24-
2527}
Original file line number Diff line number Diff line change 11{
22 "200" : {
3- "status" : true ,
4- "message" : " Virtual Terminal retrieved" ,
3+ "description" : " 200 Ok" ,
54 "data" : {
6- "id" : 27691 ,
7- "code" : " VT_MCK5292Z" ,
8- "name" : " Sample Terminal" ,
9- "integration" : 730720 ,
10- "domain" : " test" ,
11- "paymentMethods" : [],
12- "active" : true ,
13- "created_at" : " 2025-02-04T12:56:56.000Z" ,
14- "connect_account_id" : null ,
15- "destinations" : [
16- {
17- "target" : " +27639091249" ,
18- "type" : " whatsapp" ,
19- "name" : " Sales Point #1" ,
20- "created_at" : " 2025-02-04T12:56:56.000Z"
21- }
22- ],
23- "currency" : " ZAR"
5+ "status" : true ,
6+ "message" : " Virtual Terminal retrieved" ,
7+ "data" : {
8+ "id" : 27691 ,
9+ "code" : " VT_MCK5292Z" ,
10+ "name" : " Sample Terminal" ,
11+ "integration" : 730720 ,
12+ "domain" : " test" ,
13+ "paymentMethods" : [],
14+ "active" : true ,
15+ "created_at" : " 2025-02-04T12:56:56.000Z" ,
16+ "connect_account_id" : null ,
17+ "destinations" : [
18+ {
19+ "target" : " +27639091249" ,
20+ "type" : " whatsapp" ,
21+ "name" : " Sales Point #1" ,
22+ "created_at" : " 2025-02-04T12:56:56.000Z"
23+ }
24+ ],
25+ "currency" : " ZAR"
26+ }
2427 }
2528 }
2629}
Original file line number Diff line number Diff line change 11{
22 "200" : {
3- "status" : true ,
4- "message" : " Virtual Terminals retrieved" ,
5- "data" : [
6- {
7- "id" : 26740 ,
8- "code" : " VT_SOUAPKJZ" ,
9- "name" : " Sales Point #3" ,
10- "integration" : 530790 ,
11- "domain" : " test" ,
12- "paymentMethods" : [],
13- "active" : true ,
14- "created_at" : " 2025-01-16T14:09:11.000Z" ,
15- "currency" : " ZAR"
16- },
17- {
18- "id" : 26592 ,
19- "code" : " VT_NG3LPU2I" ,
20- "name" : " Sales Point #4" ,
21- "integration" : 530790 ,
22- "domain" : " test" ,
23- "paymentMethods" : [],
24- "active" : true ,
25- "created_at" : " 2025-01-14T16:35:58.000Z" ,
26- "currency" : " ZAR"
27- }
28- ],
29- "meta" : { "next" : null , "previous" : null , "perPage" : 50 }
3+ "description" : " 200 Ok" ,
4+ "data" : {
5+ "status" : true ,
6+ "message" : " Virtual Terminals retrieved" ,
7+ "data" : [
8+ {
9+ "id" : 26740 ,
10+ "code" : " VT_SOUAPKJZ" ,
11+ "name" : " Sales Point #3" ,
12+ "integration" : 530790 ,
13+ "domain" : " test" ,
14+ "paymentMethods" : [],
15+ "active" : true ,
16+ "created_at" : " 2025-01-16T14:09:11.000Z" ,
17+ "currency" : " ZAR"
18+ },
19+ {
20+ "id" : 26592 ,
21+ "code" : " VT_NG3LPU2I" ,
22+ "name" : " Sales Point #4" ,
23+ "integration" : 530790 ,
24+ "domain" : " test" ,
25+ "paymentMethods" : [],
26+ "active" : true ,
27+ "created_at" : " 2025-01-14T16:35:58.000Z" ,
28+ "currency" : " ZAR"
29+ }
30+ ],
31+ "meta" : { "next" : null , "previous" : null , "perPage" : 50 }
32+ }
3033 }
3134}
Original file line number Diff line number Diff line change 11{
22 "400" : {
3- "status" : false ,
4- "message" : " Payment method does not exist" ,
5- "meta" : {
6- "nextStep" : " Ensure that you're passing the correct reference for the requested resource that exists on this integration"
7- },
8- "type" : " validation_error" ,
9- "code" : " not_found"
3+ "description" : " 400 Bad Request" ,
4+ "data" : {
5+ "status" : false ,
6+ "message" : " Payment method does not exist" ,
7+ "meta" : {
8+ "nextStep" : " Ensure that you're passing the correct reference for the requested resource that exists on this integration"
9+ },
10+ "type" : " validation_error" ,
11+ "code" : " not_found"
12+ }
1013 }
1114}
Original file line number Diff line number Diff line change 11{
22 "400" : {
3- "status" : false ,
4- "message" : " \" name\" is required" ,
5- "meta" : { "nextStep" : " Provide all required params " },
6- "type" : " validation_error" ,
7- "code" : " missing_params"
3+ "description" : " 400 Bad Request" ,
4+ "data" : {
5+ "status" : false ,
6+ "message" : " \" name\" is required" ,
7+ "meta" : { "nextStep" : " Provide all required params " },
8+ "type" : " validation_error" ,
9+ "code" : " missing_params"
10+ }
811 },
912 "404" : {
1013 "description" : " 404 Not Found" ,
Original file line number Diff line number Diff line change 11{
22 "200" : {
3- "status" : true ,
4- "message" : " Virtual Terminal created" ,
3+ "description" : " 200 Ok" ,
54 "data" : {
6- "id" : 27691 ,
7- "name" : " Sample Terminal" ,
8- "integration" : 530700 ,
9- "domain" : " test" ,
10- "code" : " VT_LJK5892Z" ,
11- "paymentMethods" : [],
12- "active" : true ,
13- "metadata" : null ,
14- "destinations" : [
15- {
16- "target" : " +27639022319" ,
17- "type" : " whatsapp" ,
18- "name" : " Phone Destination"
19- }
20- ],
21- "currency" : " ZAR"
5+ "status" : true ,
6+ "message" : " Virtual Terminal created" ,
7+ "data" : {
8+ "id" : 27691 ,
9+ "name" : " Sample Terminal" ,
10+ "integration" : 530700 ,
11+ "domain" : " test" ,
12+ "code" : " VT_LJK5892Z" ,
13+ "paymentMethods" : [],
14+ "active" : true ,
15+ "metadata" : null ,
16+ "destinations" : [
17+ {
18+ "target" : " +27639022319" ,
19+ "type" : " whatsapp" ,
20+ "name" : " Phone Destination"
21+ }
22+ ],
23+ "currency" : " ZAR"
24+ }
2225 }
2326 }
24-
2527}
Original file line number Diff line number Diff line change 11{
22 "200" : {
3- "status" : true ,
4- "message" : " Virtual Terminal retrieved" ,
3+ "description" : " 200 Ok" ,
54 "data" : {
6- "id" : 27691 ,
7- "code" : " VT_MCK5292Z" ,
8- "name" : " Sample Terminal" ,
9- "integration" : 730720 ,
10- "domain" : " test" ,
11- "paymentMethods" : [],
12- "active" : true ,
13- "created_at" : " 2025-02-04T12:56:56.000Z" ,
14- "connect_account_id" : null ,
15- "destinations" : [
16- {
17- "target" : " +27639091249" ,
18- "type" : " whatsapp" ,
19- "name" : " Sales Point #1" ,
20- "created_at" : " 2025-02-04T12:56:56.000Z"
21- }
22- ],
23- "currency" : " ZAR"
5+ "status" : true ,
6+ "message" : " Virtual Terminal retrieved" ,
7+ "data" : {
8+ "id" : 27691 ,
9+ "code" : " VT_MCK5292Z" ,
10+ "name" : " Sample Terminal" ,
11+ "integration" : 730720 ,
12+ "domain" : " test" ,
13+ "paymentMethods" : [],
14+ "active" : true ,
15+ "created_at" : " 2025-02-04T12:56:56.000Z" ,
16+ "connect_account_id" : null ,
17+ "destinations" : [
18+ {
19+ "target" : " +27639091249" ,
20+ "type" : " whatsapp" ,
21+ "name" : " Sales Point #1" ,
22+ "created_at" : " 2025-02-04T12:56:56.000Z"
23+ }
24+ ],
25+ "currency" : " ZAR"
26+ }
2427 }
2528 }
2629}
Original file line number Diff line number Diff line change 11{
22 "200" : {
3- "status" : true ,
4- "message" : " Virtual Terminals retrieved" ,
5- "data" : [
6- {
7- "id" : 26740 ,
8- "code" : " VT_SOUAPKJZ" ,
9- "name" : " Sales Point #3" ,
10- "integration" : 530790 ,
11- "domain" : " test" ,
12- "paymentMethods" : [],
13- "active" : true ,
14- "created_at" : " 2025-01-16T14:09:11.000Z" ,
15- "currency" : " ZAR"
16- },
17- {
18- "id" : 26592 ,
19- "code" : " VT_NG3LPU2I" ,
20- "name" : " Sales Point #4" ,
21- "integration" : 530790 ,
22- "domain" : " test" ,
23- "paymentMethods" : [],
24- "active" : true ,
25- "created_at" : " 2025-01-14T16:35:58.000Z" ,
26- "currency" : " ZAR"
27- }
28- ],
29- "meta" : { "next" : null , "previous" : null , "perPage" : 50 }
3+ "description" : " 200 Ok" ,
4+ "data" : {
5+ "status" : true ,
6+ "message" : " Virtual Terminals retrieved" ,
7+ "data" : [
8+ {
9+ "id" : 26740 ,
10+ "code" : " VT_SOUAPKJZ" ,
11+ "name" : " Sales Point #3" ,
12+ "integration" : 530790 ,
13+ "domain" : " test" ,
14+ "paymentMethods" : [],
15+ "active" : true ,
16+ "created_at" : " 2025-01-16T14:09:11.000Z" ,
17+ "currency" : " ZAR"
18+ },
19+ {
20+ "id" : 26592 ,
21+ "code" : " VT_NG3LPU2I" ,
22+ "name" : " Sales Point #4" ,
23+ "integration" : 530790 ,
24+ "domain" : " test" ,
25+ "paymentMethods" : [],
26+ "active" : true ,
27+ "created_at" : " 2025-01-14T16:35:58.000Z" ,
28+ "currency" : " ZAR"
29+ }
30+ ],
31+ "meta" : { "next" : null , "previous" : null , "perPage" : 50 }
32+ }
3033 }
3134}
Original file line number Diff line number Diff line change 11{
22 "400" : {
3- "status" : false ,
4- "message" : " Payment method does not exist" ,
5- "meta" : {
6- "nextStep" : " Ensure that you're passing the correct reference for the requested resource that exists on this integration"
7- },
8- "type" : " validation_error" ,
9- "code" : " not_found"
3+ "description" : " 400 Bad Request" ,
4+ "data" : {
5+ "status" : false ,
6+ "message" : " Payment method does not exist" ,
7+ "meta" : {
8+ "nextStep" : " Ensure that you're passing the correct reference for the requested resource that exists on this integration"
9+ },
10+ "type" : " validation_error" ,
11+ "code" : " not_found"
12+ }
1013 }
1114}
You can’t perform that action at this time.
0 commit comments