digitaluapi

<back to all web services

OnceOffPaymentRequests

Requires Authentication
Required role:Client
The following routes are available for this service:
POST/onceoffpaymentOnce of Payments
OnceOffPaymentRequests Parameters:
NameParameterData TypeRequiredDescription
SegmentbodystringYes
FirstNamebodystringYes
LastNamebodystringYes
AddressbodystringNo
CitybodystringNo
RegionbodystringNo
SuburbbodystringNo
PostalCodebodystringNo
MobileNumberbodystringNo
EmailbodystringNo
IdNumberbodystringNo
PassportNumberbodystringNo
InvoiceNumberbodystringYes
DebtDatebodyDateTimeNo
AmountOutstandingbodydoubleYes
CurrenciesIdbodyintYes
ChannelsIdbodyintYes
DebtMetabodyDictionary<string, string>No
CustomersMetabodyDictionary<string, string>No
UrlToDocumentbodystringNo
CustomerUniqueIdentifierbodystringNo
OnceOffPaymentResponse Parameters:
NameParameterData TypeRequiredDescription
PublicAccessGuidformGuidNo
InvoiceNumberformstringNo
StatusCodesIdformlongNo
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /onceoffpayment HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
Content-Type: text/jsv
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-01,
	AmountOutstanding: 0,
	CurrenciesId: 0,
	ChannelsId: 0,
	DebtMeta: 
	{
		String: String
	},
	CustomersMeta: 
	{
		String: String
	},
	UrlToDocument: String,
	CustomerUniqueIdentifier: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PublicAccessGuid: 00000000000000000000000000000000,
	InvoiceNumber: String,
	StatusCodesId: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}