-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathresponse.json
More file actions
66 lines (66 loc) · 2.31 KB
/
response.json
File metadata and controls
66 lines (66 loc) · 2.31 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
60
61
62
63
64
65
66
{
"200": {
"description": "200 OK",
"data":{
"status": true,
"message": "Preauthorization retrieved",
"data": {
"id": 523,
"domain": "live",
"status": "captured",
"reference": "pre_p0xpfge2",
"amount": 1600,
"created_at": "2023-08-24T19:00:18.000Z",
"released_at": null,
"expiry_date": "2023-08-25T19:00:26.000Z",
"currency": "ZAR",
"metadata": null,
"fees": 100,
"authorization": {
"authorization_code": "AUTH_dalhwqi5vw",
"bin": "492312",
"last4": "5652",
"exp_month": "08",
"exp_year": "2024",
"channel": "card",
"card_type": "visa credit",
"bank": "NEDBANK",
"country_code": "ZA",
"brand": "visa",
"reusable": true,
"signature": "SIG_BAJR7TwTw5TwKOYCro5c",
"account_name": null
},
"customer": {
"id": 180063193,
"first_name": null,
"last_name": null,
"email": "test@paystack.com",
"customer_code": "CUS_zi5os4fs31qxao0",
"phone": null,
"metadata": null,
"risk_action": "default",
"international_format_phone": null
},
"merchant_id": 210002,
"merchant_name": "ABC merchant",
"expire_action": "release",
"captured_at": "2023-08-28T10:53:31.000Z",
"split_code": null,
"split": null
}
}
},
"400": {
"description": "400 Invalid",
"data":{
"status": false,
"message": "Preauthorization not found",
"meta": {
"nextStep": "Ensure that you're passing the correct reference for the requested resource that exists on this integration"
},
"type": "validation_error",
"code": "not_found"
}
}
}