Request Money (Invoice)
The Request Money feature allows for a user to "request payment" from a party using an email. Users of the API can use this functionality as part of an existing invoicing capability for a different provider.
Request Money from a business in your local currency (or USD, Euro, GBP)
You can request payment from a business and attach an invoiced using createInvoice. For example:
POST https://sandbox-api.veem.com/veem/v1.2/invoices
Headers:
X-Request-Id:
Authorization: Bearer <access_token>
Notes:
X-Request-Id can be any string, but it must be unique for each different transaction you do using the same account. We recommend generating this value as a GUID, and save it for reference. You cannot create two different payments using the same X-Request-Id value, if you try it, you simple get the date for the first payment created using that value.
{
"amount": {
"currency": "USD",
"number": 50
},
"notes": "some notes",
"payer": {
"businessName": "My Business",
"countryCode": "US",
"email": "[email protected]",
"firstName": "Name",
"lastName": "LastName",
"phone": "16139987705",
"type": "Incomplete"
}
}
Updated almost 2 years ago