payment
checkout_sid_pay_post
For Express Checkout sessions, the order.shipping_address must be set on the session, and a _order.items.shipping_option item is required if the session has either an express.shipping_address_callback_url or the session has at least one option in express.shipping_options.
post/accounts/{aid}/payments/sessions/{session_id}/pay
Headers
If-Unmodified-Sincestring
Optional header. The put request is discarded and a 412 is returned if the header does not match the updated_at property or the version of the session.
Request body
Example request
{
"billing_address": {
"first_name": "John",
"last_name": "Doe",
"co_address": "Land Lord",
"postal_code": "0349",
"postal_place": "Oslo",
"country": "NO"
},
"shipping_address": {
"first_name": "John",
"last_name": "Doe",
"co_address": "Land Lord",
"postal_code": "0349",
"postal_place": "Oslo",
"country": "NO"
}
}Response
response from payment
Example response
{
"actions": [
{
"source": "DINTERO",
"code": "200"
}
],
"qr_code": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABzklEQVR42mNkAAYy...",
"error": "Rejected",
"error_details": [
{
"code": "wrong_ssn"
}
]
}