Resend OTP
Resend OTP
URI
POST
https://api.tryduplo.com/v1/wallets/v2/resend-payout-otpParameters
Header
Authorization
string
set value to Bearer SECRET_KEY
Body Param
transaction_ref
string required
The transaction reference
business_id
string required
Merchant business ID
Sample request
curl --location --request POST 'https://api.tryduplo.com/v1/wallets/v2/resend-payout-otp' \
--header 'Authorization: Bearer SECRET_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"business_id" : "15f87763-8b6c-47c2-b1ec-e90574c2c4a9",
"transaction_ref": "tran_i81LURD7sH"
}'var axios = require('axios');
var data = JSON.stringify({
"business_id" : "15f87763-8b6c-47c2-b1ec-e90574c2c4a9",
"transaction_ref": "tran_i81LURD7sH"
});
var config = {
method: 'post',
url: 'https://api.tryduplo.com/v1/wallets/v2/resend-payout-otp',
headers: {
'Authorization': 'Bearer SECRET_KEY',
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});Duplo Response
Last updated
Was this helpful?