-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathresponse.json
More file actions
59 lines (59 loc) · 1.23 KB
/
response.json
File metadata and controls
59 lines (59 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"200": {
"description": "200 Ok",
"data": {
"status": true,
"type": "success",
"code": "ok",
"data": {
"status": "success"
},
"message": "Charge successful"
}
},
"200_pending": {
"description": "200 Pending",
"data": {
"status": true,
"type": "success",
"code": "ok",
"data": {
"status": "pending"
},
"message": "Charge pending"
}
},
"200_failed": {
"description": "200 Failed",
"data": {
"status": true,
"type": "success",
"code": "ok",
"data": {
"status": "failed"
},
"message": "Account is de-activated, please contact Capitec for help"
}
},
"400": {
"description": "400 Bad Request",
"data": {
"status": false,
"message": "Transaction not found",
"meta": {
"nextStep": "Ensure that you're passing the reference of a transaction that exists on this integration"
},
"type": "validation_error",
"code": "transaction_not_found"
}
},
"500": {
"description": "500 Server Error",
"data": {
"status": false,
"code": "unknown",
"type": "api_error",
"message": "An error occurred"
}
}
}