Skip to main content

Attributes

This object represents a payment method that can be associated with a customer for back-to-back payments.
id
string
The unique identifier of the payment method (MAX 64; MIN 36).Example: 693ed90e-5aa9-11ed-9b6a-0242ac120002
name
string
The payment method name (MAX 255; MIN 3).Example: CARD
description
string
The payment method description (MAX 255; MIN 3).Example: CARD
type
enum
The payment method type (MAX 255; MIN 3).Possible enum values: Check the Payment type list.
category
enum
The payment method category (MAX 255; MIN 3).Example: CARD
country
enum
The customer’s country (MAX 2; MIN 2; ISO 3166-1 ).Possible enum values: Check the Country reference.
last_successfuly_used
bool
Indicates if the enrolled payment method was the last successfully used by the customer ).Example: True
last_successfuly_used_at
timestamp
Indicates the date of the last succeeded payment if the enrolled payment method was the last successfully used by the customer ).Example: “2023-01-24T12:50:43.938087Z”
workflow
enum
The payment workflow indicates whether the integration will use Yuno´s SDK or will be a back to back connection.Possible enum values: If CHECKOUT you will use Yuno SDK. If DIRECT you will back to back integration.
card_data
object
Specifies the details of the card.
callback_url
string
URL to return the customer after an enrollment in a provider´s environment. Only necessary for alternative payment methods integrations (MAX: 64; MIN: 36).Example: https://www.company.com/customer_1231324
verify
object
Indicates whether to verify the payment with a verify transaction or not. You’ll need to have a provider defined in your CARD route.
status
enum
The status of the payment method (MAX 255; MIN 5).Possible enum values: Check the Payment method status.
vaulted_token
string
The vaulted token for the previously enrolled payment method (MAX 64; MIN 36).Example: 321c12f6-42c2-45b7-bf0c-f2f767b31948
created_at
timestamp
Payment method creation date and time (MAX 27; MIN 27; ISO 8601 ).Example: 2022-05-09T20:46:54.786342Z
updated_at
timestamp
Last payment method update date and time (MAX 27; MIN 27; ISO 8601 ).Example: 2022-05-09T20:46:54.786342Z