| Required role: | Client |
| POST | /onceoffpayment | Once of Payments |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Segment | body | string | Yes | |
| FirstName | body | string | Yes | |
| LastName | body | string | Yes | |
| Address | body | string | No | |
| City | body | string | No | |
| Region | body | string | No | |
| Suburb | body | string | No | |
| PostalCode | body | string | No | |
| MobileNumber | body | string | No | |
| body | string | No | ||
| IdNumber | body | string | No | |
| PassportNumber | body | string | No | |
| InvoiceNumber | body | string | Yes | |
| DebtDate | body | DateTime | No | |
| AmountOutstanding | body | double | Yes | |
| CurrenciesId | body | int | Yes | |
| ChannelsId | body | int | Yes | |
| DebtMeta | body | Dictionary<string, string> | No | |
| CustomersMeta | body | Dictionary<string, string> | No | |
| UrlToDocument | body | string | No | |
| CustomerUniqueIdentifier | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PublicAccessGuid | form | Guid | No | |
| InvoiceNumber | form | string | No | |
| StatusCodesId | form | long | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /onceoffpayment HTTP/1.1
Host: api.du-engage.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Segment":"String","FirstName":"String","LastName":"String","Address":"String","City":"String","Region":"String","Suburb":"String","PostalCode":"String","MobileNumber":"String","Email":"String","IdNumber":"String","PassportNumber":"String","InvoiceNumber":"String","DebtDate":"0001-01-01T00:00:00.0000000","AmountOutstanding":0,"CurrenciesId":0,"ChannelsId":0,"DebtMeta":{"String":"String"},"CustomersMeta":{"String":"String"},"UrlToDocument":"String","CustomerUniqueIdentifier":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"InvoiceNumber":"String","StatusCodesId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}