Ce document a été mis à jour.
La traduction en Français (France) n’est pas encore terminée.
Anglais mis à jour : 26 mai 2023
Français (France) mis à jour : 7 févr. 2022

PaymentContainer

Use an object based on PaymentContainer to represent a payment container such as a credit card or other payment method. Use PaymentContainer to provide the details for the merchant payment processor to process the payment.

For more information, see Payment Processing in Meta Pay.

Properties

PropertyTypeDescriptionRequired

mode

PaymentMode

Whether the payment container is for a real payment or a test payment.

Yes

containerId

string

A unique identifier for the payment container.

Yes

containerType

ContainerType

The container type

Yes

containerData

string

A compact serialized JSON Web Signature (JWS) structure to send to the payment processor. For details, see JWS Compact Serialization.


This value is encrypted by using the public key of the payment partner.


The decrypted payload of the container_data property is a JSON serialized object. The properties of the object depend on the container type. For details on decryption and processing please refer to Payment Processing.

Yes