diff --git a/_build/api.yaml b/_build/api.yaml index 24705ce..25c0269 100644 --- a/_build/api.yaml +++ b/_build/api.yaml @@ -8438,6 +8438,7 @@ paths: exp_month: "01" exp_year: "25" brand: visa + issuer: santander name: random name parent_id: cus_2tUkvasdas1s4ihjs default: false @@ -17345,6 +17346,10 @@ components: brand: example: visa type: string + issuer: + description: Name of the institution that issued the card + example: santander + type: string name: example: Fulano Perez" type: string diff --git a/resources/customers/create_customer_payment_methods.yml b/resources/customers/create_customer_payment_methods.yml index 67eaf85..545c375 100644 --- a/resources/customers/create_customer_payment_methods.yml +++ b/resources/customers/create_customer_payment_methods.yml @@ -94,6 +94,7 @@ get: exp_month: "01" exp_year: "25" brand: "visa" + issuer: "santander" name: "random name" parent_id: "cus_2tUkvasdas1s4ihjs" default: false diff --git a/schemas/customers/customer_payment_method_card_response.yml b/schemas/customers/customer_payment_method_card_response.yml index be741ef..4907e99 100644 --- a/schemas/customers/customer_payment_method_card_response.yml +++ b/schemas/customers/customer_payment_method_card_response.yml @@ -8,7 +8,7 @@ payment_method_card_response: last4: type: string example: "6410" - bin: + bin: type: string example: "40276657" card_type: @@ -23,7 +23,11 @@ payment_method_card_response: brand: type: string example: "visa" - name: + issuer: + type: string + example: "santander" + description: "Name of the institution that issued the card" + name: type: string example: Fulano Perez" default: @@ -33,4 +37,4 @@ payment_method_card_response: payment_source_status: type: string example: "active" - +