Pagsmile
Search
K
Links

Payout DryRun

A simulation(dry run) for payout.
post
https://sandbox.transfersmile.com/api/payout/dry-run
A simulation(dry run) for payout.

Example PIX

curl --location --request POST 'https://sandbox.transfersmile.com/api/payout/dry-run' \
--header 'AppId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
* "source_currency": "USD",
* "arrival_currency": "BRL",
* "amount": "10.00",
* "fee_bear": "merchant",
* "method": "PIX",
"channel": "",
* "country": "BRA",
* "timestamp": 1642075807
}'

Example SPEI

curl --location --request POST 'https://sandbox.transfersmile.com/api/payout/dry-run' \
--header 'MerchantId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
* "source_currency": "USD",
* "arrival_currency": "MXN",
* "amount": "10.00",
* "fee_bear": "merchant",
* "method": "SPEI",
"channel": "",
* "country": "MEX",
* "timestamp": 1642075807
}'

Example PayPal

curl --location --request POST 'https://sandbox.transfersmile.com/api/payout/dry-run' \
--header 'MerchantId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
* "source_currency": "USD",
* "arrival_currency": "USD",
* "amount": "10.00",
* "fee_bear": "merchant",
* "method": "WALLET",
* "channel": "PayPal",
* "country": "BRA",
* "timestamp": 1642075807
}'
Note: 94FAC**********************68548 is pagsmile's test merchant id for sandbox, and d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302 is authorization token associated with the test App ID.