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
Optionalbilling Address
Optionalcustomer Id
customerId?: string
Optionalemail
email?: string
Email address
Optionalextra Psp Data
extraPspData?: Record<string, unknown>
Extra data
Optionalfirst Name
firstName?: string
Personal info
Optionalinfix
infix?: string
Optionalip Address
ipAddress?: string
User's IP address
Optionallang
lang?: string
User's language code, eg 'nl' or 'en-US
Optionallast 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)
Optionalorder 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
Optionalshipping 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