Skip to content

Commit 32b20ad

Browse files
Merge pull request #108 from PaystackOSS/chore-transfer
chore: whitespace clean up
2 parents 6bca78e + e0ea5fe commit 32b20ad

File tree

8 files changed

+104
-104
lines changed

8 files changed

+104
-104
lines changed

dist/api/transfers/bulk/requests.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
33
authorization="Authorization: Bearer YOUR_SECRET_KEY"
44
content_type="Content-Type: application/json"
55
data='{
6-
"currency": "NGN",
7-
"source": "balance",
8-
"transfers": [
9-
{
10-
"amount": 20000,
11-
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12-
"reason": "Bonus for the week",
13-
"recipient": "RCP_gd9vgag7n5lr5ix"
14-
},
15-
{
16-
"amount": 35000,
17-
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18-
"reason": "Bonus for the week",
19-
"recipient": "RCP_zpk2tgagu6lgb4g"
20-
},
21-
{
22-
"amount": 15000,
23-
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24-
"reason": "Bonus for the week",
25-
"recipient": "RCP_dfznnod8rwxlwgn"
26-
}
27-
]
6+
"currency": "NGN",
7+
"source": "balance",
8+
"transfers": [
9+
{
10+
"amount": 20000,
11+
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12+
"reason": "Bonus for the week",
13+
"recipient": "RCP_gd9vgag7n5lr5ix"
14+
},
15+
{
16+
"amount": 35000,
17+
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18+
"reason": "Bonus for the week",
19+
"recipient": "RCP_zpk2tgagu6lgb4g"
20+
},
21+
{
22+
"amount": 15000,
23+
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24+
"reason": "Bonus for the week",
25+
"recipient": "RCP_dfznnod8rwxlwgn"
26+
}
27+
]
2828
}'
2929
3030
curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST`

dist/api/transfers/initiate/requests.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ authorization="Authorization: Bearer YOUR_SECRET_KEY"
44
content_type="Content-Type: application/json"
55
data='{
66
"source": "balance",
7-
"reason": "Bonus for the week",
8-
"amount": 100000,
9-
"recipient": "RCP_gd9vgag7n5lr5ix",
10-
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
7+
"amount": 100000,
8+
"recipient": "RCP_gd9vgag7n5lr5ix",
9+
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
10+
"reason": "Bonus for the week"
1111
}'
1212
1313
curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST`

dist/doc/transfers/bulk/initiate-transfer.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
33
authorization="Authorization: Bearer YOUR_SECRET_KEY"
44
content_type="Content-Type: application/json"
55
data='{
6-
"currency": "NGN",
7-
"source": "balance",
8-
"transfers": [
9-
{
10-
"amount": 20000,
11-
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12-
"reason": "Bonus for the week",
13-
"recipient": "RCP_gd9vgag7n5lr5ix"
14-
},
15-
{
16-
"amount": 35000,
17-
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18-
"reason": "Bonus for the week",
19-
"recipient": "RCP_zpk2tgagu6lgb4g"
20-
},
21-
{
22-
"amount": 15000,
23-
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24-
"reason": "Bonus for the week",
25-
"recipient": "RCP_dfznnod8rwxlwgn"
26-
}
27-
]
6+
"currency": "NGN",
7+
"source": "balance",
8+
"transfers": [
9+
{
10+
"amount": 20000,
11+
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12+
"reason": "Bonus for the week",
13+
"recipient": "RCP_gd9vgag7n5lr5ix"
14+
},
15+
{
16+
"amount": 35000,
17+
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18+
"reason": "Bonus for the week",
19+
"recipient": "RCP_zpk2tgagu6lgb4g"
20+
},
21+
{
22+
"amount": 15000,
23+
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24+
"reason": "Bonus for the week",
25+
"recipient": "RCP_dfznnod8rwxlwgn"
26+
}
27+
]
2828
}'
2929
3030
curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST`

dist/doc/transfers/single/initiate-transfer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ const sh = `curl https://api.paystack.co/transfer
33
-H "Content-Type: application/json"
44
-d '{
55
"source": "balance",
6-
"reason": "Bonus for the week",
7-
"amount": 100000,
8-
"recipient": "RCP_gd9vgag7n5lr5ix",
9-
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
6+
"amount": 100000,
7+
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
8+
"recipient": "RCP_gd9vgag7n5lr5ix",
9+
"reason": "Bonus for the week"
1010
}'
1111
-X POST
1212
`

src/api/transfers/bulk/index.sh

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
33
authorization="Authorization: Bearer YOUR_SECRET_KEY"
44
content_type="Content-Type: application/json"
55
data='{
6-
"currency": "NGN",
7-
"source": "balance",
8-
"transfers": [
9-
{
10-
"amount": 20000,
11-
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12-
"reason": "Bonus for the week",
13-
"recipient": "RCP_gd9vgag7n5lr5ix"
14-
},
15-
{
16-
"amount": 35000,
17-
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18-
"reason": "Bonus for the week",
19-
"recipient": "RCP_zpk2tgagu6lgb4g"
20-
},
21-
{
22-
"amount": 15000,
23-
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24-
"reason": "Bonus for the week",
25-
"recipient": "RCP_dfznnod8rwxlwgn"
26-
}
27-
]
6+
"currency": "NGN",
7+
"source": "balance",
8+
"transfers": [
9+
{
10+
"amount": 20000,
11+
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12+
"reason": "Bonus for the week",
13+
"recipient": "RCP_gd9vgag7n5lr5ix"
14+
},
15+
{
16+
"amount": 35000,
17+
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18+
"reason": "Bonus for the week",
19+
"recipient": "RCP_zpk2tgagu6lgb4g"
20+
},
21+
{
22+
"amount": 15000,
23+
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24+
"reason": "Bonus for the week",
25+
"recipient": "RCP_dfznnod8rwxlwgn"
26+
}
27+
]
2828
}'
2929

3030
curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST

src/api/transfers/initiate/index.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ authorization="Authorization: Bearer YOUR_SECRET_KEY"
44
content_type="Content-Type: application/json"
55
data='{
66
"source": "balance",
7-
"reason": "Bonus for the week",
8-
"amount": 100000,
9-
"recipient": "RCP_gd9vgag7n5lr5ix",
10-
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
7+
"amount": 100000,
8+
"recipient": "RCP_gd9vgag7n5lr5ix",
9+
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
10+
"reason": "Bonus for the week"
1111
}'
1212

1313
curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST

src/doc/transfers/bulk/initiate-transfer/index.sh

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
33
authorization="Authorization: Bearer YOUR_SECRET_KEY"
44
content_type="Content-Type: application/json"
55
data='{
6-
"currency": "NGN",
7-
"source": "balance",
8-
"transfers": [
9-
{
10-
"amount": 20000,
11-
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12-
"reason": "Bonus for the week",
13-
"recipient": "RCP_gd9vgag7n5lr5ix"
14-
},
15-
{
16-
"amount": 35000,
17-
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18-
"reason": "Bonus for the week",
19-
"recipient": "RCP_zpk2tgagu6lgb4g"
20-
},
21-
{
22-
"amount": 15000,
23-
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24-
"reason": "Bonus for the week",
25-
"recipient": "RCP_dfznnod8rwxlwgn"
26-
}
27-
]
6+
"currency": "NGN",
7+
"source": "balance",
8+
"transfers": [
9+
{
10+
"amount": 20000,
11+
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
12+
"reason": "Bonus for the week",
13+
"recipient": "RCP_gd9vgag7n5lr5ix"
14+
},
15+
{
16+
"amount": 35000,
17+
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
18+
"reason": "Bonus for the week",
19+
"recipient": "RCP_zpk2tgagu6lgb4g"
20+
},
21+
{
22+
"amount": 15000,
23+
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
24+
"reason": "Bonus for the week",
25+
"recipient": "RCP_dfznnod8rwxlwgn"
26+
}
27+
]
2828
}'
2929

3030
curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST

src/doc/transfers/single/initiate-transfer/index.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ curl https://api.paystack.co/transfer
33
-H "Content-Type: application/json"
44
-d '{
55
"source": "balance",
6-
"reason": "Bonus for the week",
7-
"amount": 100000,
8-
"recipient": "RCP_gd9vgag7n5lr5ix",
9-
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
6+
"amount": 100000,
7+
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
8+
"recipient": "RCP_gd9vgag7n5lr5ix",
9+
"reason": "Bonus for the week"
1010
}'
1111
-X POST

0 commit comments

Comments
 (0)