SAP Digital Payments - Initialize payment page
Initialize payment page (3DS).
3DS must be enabled for the payment provider and the related company code in IMG
URL
/cnbs/v1/dp/init_pp
Method
POST
Parameters
Required
- Payer (payer_data)
- Customer Number (customer_number)
- Company Code (company_code)
- Currency Code (currency_code)
- Amount (amount)
- Payment card token (payment_card_token)
- Order Number (order_number)
- Address (address)
- Billing Name (billing_name)
- Billing Address 1 (billing_address1)
- Billing City (billing_city)
- Billing Postal Code (billing_postal_code)
- Billing Country Code (billing_country_code)
- Billing State (billing_state)
- Billing First Name (billing_first_name)
- Billing Last Name (billing_last_name)
- Billing Mail (billing_email)
Sample Implementation
Response
- Loader URL (loader_url)
- DP Transaction ID (dp_trans_id)
- API Session ID (api_session_id)
- Payment Service Provider (psp)
- Payment Page (payment_page)
- Status (status)
- Message Type (message_type)
- SAP Message Type.
- Errors:
- E = Error
- A = Abort
- X = Exception
- Others:
- S = Success
- W = Warning
- I = Information
- Message Identifier (message_identification)
- SAP Message ID.
- Message Number (message_number)
- SAP Message Number.
- Message Line (message_line_string)
- SAP Message Text.
Example Response
{
"loader_url": "https://digitalpayments-core.demo-digitalpayments-sap.cfapps.eu10.hana.ondemand.com/dpjslib/latest/loader.min.js",
"dp_trans_id": "1a0f75afb8c90248b6d4dfcb0a33186ca114dd528cee",
"api_session_id": "ATRBNHnFVhY+Tis5a/9oPSdMQQ7dNHF6X3QMbpAewrbRegA0XlI0pSKynQgtrAOXkgTQ",
"psp": "ZNUV",
"payment_page": "PayaConnect-page",
"status": {
"message_type": "S",
"message_identification": "/CNBS/X_API",
"message_number": 10,
"message_line_string": "Request successfully processed"
}
}