Last active
July 26, 2019 23:18
-
-
Save jkwade/61ef9879fd12d9470652d3790b6ae4e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Normal Settlement call | |
curl https://finix.sandbox-payments-api.com/identities/IDxxxxx/settlements \ | |
-H "Content-Type: application/vnd.json+api" \ | |
-u USckpcZHua1RRGW7iNSQsH2S:bbf084b5-f704-4917-abc9-6bbb96e2484b \ | |
-d ' | |
{ | |
"currency": "USD", | |
"processor": "DUMMY_V1" | |
}' | |
// Then reference that Settlement when you hit the | |
curl POST https://finix.live-payments-api.com/settlements/{settlement_id}/funding_transfers \ | |
-H "Content-Type: application/vnd.json+api" \ | |
-u USckpcZHua1RRGW7iNSQsH2S:bbf084b5-f704-4917-abc9-6bbb96e2484b \ | |
-d ' | |
{ | |
"currency": "USD", | |
"amount": 1510, | |
"destination": "PIw6Eb4hdLRWjbB9ciFFogo" | |
}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment