Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions dist/api/transfers/bulk/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
authorization="Authorization: Bearer YOUR_SECRET_KEY"
content_type="Content-Type: application/json"
data='{
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
}'

curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST`
Expand Down
8 changes: 4 additions & 4 deletions dist/api/transfers/initiate/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ authorization="Authorization: Bearer YOUR_SECRET_KEY"
content_type="Content-Type: application/json"
data='{
"source": "balance",
"reason": "Bonus for the week",
"amount": 100000,
"recipient": "RCP_gd9vgag7n5lr5ix",
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
"amount": 100000,
"recipient": "RCP_gd9vgag7n5lr5ix",
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
"reason": "Bonus for the week"
}'

curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST`
Expand Down
44 changes: 22 additions & 22 deletions dist/doc/transfers/bulk/initiate-transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
authorization="Authorization: Bearer YOUR_SECRET_KEY"
content_type="Content-Type: application/json"
data='{
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
}'

curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST`
Expand Down
8 changes: 4 additions & 4 deletions dist/doc/transfers/single/initiate-transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ const sh = `curl https://api.paystack.co/transfer
-H "Content-Type: application/json"
-d '{
"source": "balance",
"reason": "Bonus for the week",
"amount": 100000,
"recipient": "RCP_gd9vgag7n5lr5ix",
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
"amount": 100000,
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
"recipient": "RCP_gd9vgag7n5lr5ix",
"reason": "Bonus for the week"
}'
-X POST
`
Expand Down
44 changes: 22 additions & 22 deletions src/api/transfers/bulk/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
authorization="Authorization: Bearer YOUR_SECRET_KEY"
content_type="Content-Type: application/json"
data='{
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
}'

curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST
8 changes: 4 additions & 4 deletions src/api/transfers/initiate/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ authorization="Authorization: Bearer YOUR_SECRET_KEY"
content_type="Content-Type: application/json"
data='{
"source": "balance",
"reason": "Bonus for the week",
"amount": 100000,
"recipient": "RCP_gd9vgag7n5lr5ix",
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
"amount": 100000,
"recipient": "RCP_gd9vgag7n5lr5ix",
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
"reason": "Bonus for the week"
}'

curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST
44 changes: 22 additions & 22 deletions src/doc/transfers/bulk/initiate-transfer/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ url="https://api.paystack.co/transfer/bulk"
authorization="Authorization: Bearer YOUR_SECRET_KEY"
content_type="Content-Type: application/json"
data='{
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
"currency": "NGN",
"source": "balance",
"transfers": [
{
"amount": 20000,
"reference": "ACV_2627bbfe-1a2a-4a1a-8d0e-9d2ee6c31496",
"reason": "Bonus for the week",
"recipient": "RCP_gd9vgag7n5lr5ix"
},
{
"amount": 35000,
"reference": "ACV_1bd0c1f8-78c2-463b-8bd4-ed9eeb36be50",
"reason": "Bonus for the week",
"recipient": "RCP_zpk2tgagu6lgb4g"
},
{
"amount": 15000,
"reference": "ACV_11bebfc3-18b3-40aa-a4df-c55068c93457",
"reason": "Bonus for the week",
"recipient": "RCP_dfznnod8rwxlwgn"
}
]
}'

curl "$url" -H "$authorization" -H "$content_type" -d "$data" -X POST
8 changes: 4 additions & 4 deletions src/doc/transfers/single/initiate-transfer/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ curl https://api.paystack.co/transfer
-H "Content-Type: application/json"
-d '{
"source": "balance",
"reason": "Bonus for the week",
"amount": 100000,
"recipient": "RCP_gd9vgag7n5lr5ix",
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68"
"amount": 100000,
"reference": "ACV_9ee55786-2323-4760-98e2-6380c9cb3f68",
"recipient": "RCP_gd9vgag7n5lr5ix",
"reason": "Bonus for the week"
}'
-X POST