Interface PSPRequest
interface PSPRequest {
billingAddress?: PSPAddressFormat;
customerId?: string;
email?: string;
extraPspData?: Record<string, unknown>;
firstName?: string;
infix?: string;
ipAddress?: string;
lang?: string;
lastName?: string;
method: string;
orderId: string;
orderLines?: PSPOrderLine[];
paymentId: string;
pushUrl: string;
returnUrl: string;
shippingAddress?: PSPAddressFormat;
toPay: Money;
}
billingAddress?: PSPAddressFormat;
customerId?: string;
email?: string;
extraPspData?: Record<string, unknown>;
firstName?: string;
infix?: string;
ipAddress?: string;
lang?: string;
lastName?: string;
method: string;
orderId: string;
orderLines?: PSPOrderLine[];
paymentId: string;
pushUrl: string;
returnUrl: string;
shippingAddress?: PSPAddressFormat;
toPay: Money;
}
Hierarchy (View Summary)
- PSPPrecheckRequest
- PSPRequest
Properties
Optional
billing Address
Optional
customer Id
customerId?: string
Optional
email
email?: string
Email address
Optional
extra Psp Data
extraPspData?: Record<string, unknown>
Extra data
Optional
first Name
firstName?: string
Personal info
Optional
infix
infix?: string
Optional
ip Address
ipAddress?: string
User's IP address
Optional
lang
lang?: string
User's language code, eg 'nl' or 'en-US
Optional
last Name
lastName?: string
method
method: string
Rowkey of the selected method
order Id
orderId: string
Order id/payment reference which should be unique in the scope of the relevant application for the payment requests (but shared over all payment attempts)
Optional
order Lines
Order contents
payment Id
paymentId: string
The end-to-end paymentuuid to track this payment attempt which should be globally unique
push Url
pushUrl: string
URL the PSP should push notifications to
return Url
returnUrl: string
URL the PSP should return to
Optional
shipping Address
to Pay
The amount we'd like to be paid, includes vat if we expect that to be included in the payment
User's customer id in our database