Payment

Version 1.0.1
download iconDownload spec

Endpoint

POST
https://partner.att.com/omni-svcs/v1/payment-methods

Allows external partners to register and securely tokenize a new payment method (e.g., credit card) during fiber order submission for future reuse in AT&T’s systems.

arrowRequest

Payment transaction request payload

Header Parameters

    Body Parameters

    Responses

    Payment transaction update response

    arrowBody

    application/json

    REQUEST

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    curl --request POST \
         --url https://partner.att.com/omni-svcs/v1/payment-methods \
         --header 'accept: application/json' \
         --header 'content-type: application/json' \
         --data '
    {
      "paymentMethods": [
        {
          "id": "paymentmethod_1",
          "amount": 1,
          "accountNumber": "123454",
          "savePaymentProfile": true,
          "storeTermsConditionConsent": true,
          "tncId": "111",
          "customerAgreement": "TC20180810",
          "cartId": "c4e73c60-0c58-11f1-b19a-f3d57f0f40d8",
          "profileName": "23-7995788593397",
          "encPaymentMethod": "<encrypted_payment_method>",
          "paySource": {
            "sourceSystem": "RTB",
            "sourceLocation": "XX",
            "sourceUser": "IDP"
          }
        }
      ]
    }
    '

    RESPONSE

    1
    2
    3
    4
    {
      "status": "success",
      "paymentMethodId": ""
    }