curl --request GET \
--url https://api.mottostreaming.com/monetization/payment_methods/v1/batch \
--header 'Authorization: Bearer <token>'{
"payment_methods": [
{
"id": "<string>",
"project_id": "<string>",
"user_id": "<string>",
"provider": "PROVIDER_UNSPECIFIED",
"sub_provider": "<string>",
"type": "<string>",
"last_four": "<string>",
"expiration_month": 123,
"expiration_year": 123,
"card_brand": "<string>"
}
]
}BatchGetPaymentMethods
Returns a list of payment methods by payment method IDs.
curl --request GET \
--url https://api.mottostreaming.com/monetization/payment_methods/v1/batch \
--header 'Authorization: Bearer <token>'{
"payment_methods": [
{
"id": "<string>",
"project_id": "<string>",
"user_id": "<string>",
"provider": "PROVIDER_UNSPECIFIED",
"sub_provider": "<string>",
"type": "<string>",
"last_four": "<string>",
"expiration_month": 123,
"expiration_year": 123,
"card_brand": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Show child attributes
The payment method ID
The project ID that is associated with the payment method.
The user ID that is associated with the payment method.
The provider of the payment method.
PROVIDER_UNSPECIFIED, PROVIDER_STRIPE, PROVIDER_APPLE_APP_STORE, PROVIDER_GOOGLE_PLAY_STORE The service of the payment method. This is mostly applicable when the provider is a payment orchestrator (like Gr4vy) that can liaise with multiple payment providers (like Stripe or Adyen)
The type of the payment method. This can be a credit card, a bank account, or a payment service like PayPal.
The last four digits of the payment method. Only applicable for credit card payments.
The expiration month of the payment method. Only applicable for credit card payments.
The expiration year of the payment method. Only applicable for credit card payments.
The card brand of the payment method. Only applicable for credit card payments.