Fund milestone
Milestones must be funded before the seller can deliver the product or service. When the funding endpoint it called, the user is redirected to a payment gateway to fund via available payment methods such as bank transfer.
To fund a specific milestone
POST
{{api_url}}/v1/milestones/{milestone_id}/fund
Query Parameters
milestone_id*
string
specify the milestone id
Headers
Authorization*
string
your Trustcrow API keys to authorize customers
Request Body
buyer_id*
string
input the buyer's ID
Test account URL for bank transfer https://websim.sdk.monnify.com/?#/bankingapp
For test card details, you can use the following;
Pan: 4111111111111111, cvv:1234, expiryYear:2024 and expiryMonth:10
Only when a milestone has been funded does the buyer protection begins, and the seller is instructed to go ahead and ship the products or service.
To verify the funding status of a milestone, fetch the corresponding transaction and ensure that the response;
"is_milestone_funded" is set to true
"total_amount_funded" is equal to the amount funded after deducting escrow fee
milestone status changes to "MILESTONE_IN_PROGRESS."
Last updated