Create new payment
POST/payments/batch
Inform Impact Finance of payments external from Impact Finance's point of view. This action is idempotent, meaning that payments with the same externalId
posted multiple times will only be processed (and persisted) once.
Request
- application/json
Body
required
List of payments, with details
Array [
]
payments
object[]
externalId stringrequired
userId uuidrequired
amountCents integerrequired
settledAt RFC3339required
mcc stringnullable
A MCC associated with the transaction
type string
Possible values: [cc-payment
, mobile-payment
]
Type of the transaction
country string
The country in which the transaction took place (ISO-3166 alpha-2 convention).
Responses
- 204
- 400
Payment list was accepted for creation
Bad request
Loading...