Pagos
Payments

Generar Orden de pago

Changed on

Generar Orden de pago

post/payment

Request

  • Base URL
    https://api.paylands.com/v1/sandbox
  • URL
    https://api.paylands.com/v1/sandbox/payment
  • Auth
    none required

Parameters

#/paths/~1/get/parameters/0 (unresolved $ref)

Request body

signatureSignature required(unresolved $ref)
amountAmount required(unresolved $ref)
operativeOperative required(unresolved $ref)
secureSafe required(unresolved $ref)
customer_ext_idExternalId (unresolved $ref)
serviceServiceUuid (unresolved $ref)
currencystring nullable

Código Alpha 3 ISO 4217 de la moneda. Obligatorio si no se indica el campo service.

descriptionDescription required(unresolved $ref)
additionalAdditional (unresolved $ref)
url_postUrlPost (unresolved $ref)
url_okUrlOk (unresolved $ref)
url_koUrlKo (unresolved $ref)
template_uuidDccTemplate (unresolved $ref)
dcc_template_uuidDccTemplate (unresolved $ref)
source_uuidUuid (unresolved $ref)
save_cardIsSaved (unresolved $ref)
referenceReference (unresolved $ref)
dynamic_descriptorDynamicDescriptor (unresolved $ref)
expires_inExpiresIn (unresolved $ref)

Example request

{
  "signature": "341f7de8e6fc49da8d8736473af6b03a",
  "amount": 100,
  "operative": "AUTHORIZATION",
  "secure": true,
  "customer_ext_id": "test",
  "service": "9A1BDCC8-DB30-4ED2-8523-62B330A67873",
  "currency": "EUR",
  "description": "Payment #1",
  "additional": null,
  "url_post": "https://my.website.com/process",
  "url_ok": "https://my.website.com/ok",
  "url_ko": "https://my.website.com/ko",
  "template_uuid": "6412549E-933E-4DFE-A225-2E87FBF7623E",
  "dcc_template_uuid": "BF418CA6-7043-4864-B36F-F02C2CF2B76B",
  "source_uuid": null,
  "save_card": true,
  "reference": "50620",
  "dynamic_descriptor": "PNP*NombreComercio",
  "expires_in": 3600,
  "extra_data": {
    "cof": {
      "reason": "OTHER"
    },
    "checkout": {
      "uuid": "4acae331-1ade-46f9-8159-8e7715145e0a",
      "payment_methods": [
        "PAYMENT_CARD",
        "BIZUM"
      ],
      "default_payment_method": "PAYMENT_CARD",
      "customization": {
        "theme_type": "DARK",
        "font": "Sans Serif",
        "description": "Checkout with a black background color",
        "payment_details": {
          "order_number": "632863"
        }
      }
    }
  }
}

Response

OK

messagestring required

Nombre del código HTTP de respuesta.

codenumber required

Código de respuesta.

current_timestring required

Fecha y hora de la petición.

Changes

    • breaking

      removed the enum value ja of the request property ///

    • warning

      added the new jp enum value to the //// response property for the response status

    • info

      added the new jp enum value to the request property ///

    • info

      removed the ja enum value from the //// response property for the response status

    • breaking

      removed the enum value jp of the request property ///

    • warning

      added the new ja enum value to the //// response property for the response status

    • info

      added the new ja enum value to the request property ///

    • info

      removed the jp enum value from the //// response property for the response status