diff --git a/dist/api/transfers/bulk/requests.js b/dist/api/transfers/bulk/requests.js index 49cc7e5..30ae96e 100644 --- a/dist/api/transfers/bulk/requests.js +++ b/dist/api/transfers/bulk/requests.js @@ -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` diff --git a/dist/api/transfers/initiate/requests.js b/dist/api/transfers/initiate/requests.js index 3a58230..68a611d 100644 --- a/dist/api/transfers/initiate/requests.js +++ b/dist/api/transfers/initiate/requests.js @@ -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` diff --git a/dist/doc/transfers/bulk/initiate-transfer.js b/dist/doc/transfers/bulk/initiate-transfer.js index 8c26f10..0d41470 100644 --- a/dist/doc/transfers/bulk/initiate-transfer.js +++ b/dist/doc/transfers/bulk/initiate-transfer.js @@ -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` diff --git a/dist/doc/transfers/single/initiate-transfer.js b/dist/doc/transfers/single/initiate-transfer.js index 41b7d66..b22c5bc 100644 --- a/dist/doc/transfers/single/initiate-transfer.js +++ b/dist/doc/transfers/single/initiate-transfer.js @@ -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 ` diff --git a/src/api/transfers/bulk/index.sh b/src/api/transfers/bulk/index.sh index ab3d53f..fcafecf 100644 --- a/src/api/transfers/bulk/index.sh +++ b/src/api/transfers/bulk/index.sh @@ -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 \ No newline at end of file diff --git a/src/api/transfers/initiate/index.sh b/src/api/transfers/initiate/index.sh index 52e25ff..aa540cc 100644 --- a/src/api/transfers/initiate/index.sh +++ b/src/api/transfers/initiate/index.sh @@ -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 \ No newline at end of file diff --git a/src/doc/transfers/bulk/initiate-transfer/index.sh b/src/doc/transfers/bulk/initiate-transfer/index.sh index ab3d53f..fcafecf 100644 --- a/src/doc/transfers/bulk/initiate-transfer/index.sh +++ b/src/doc/transfers/bulk/initiate-transfer/index.sh @@ -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 \ No newline at end of file diff --git a/src/doc/transfers/single/initiate-transfer/index.sh b/src/doc/transfers/single/initiate-transfer/index.sh index 73df863..833f461 100644 --- a/src/doc/transfers/single/initiate-transfer/index.sh +++ b/src/doc/transfers/single/initiate-transfer/index.sh @@ -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